{"id":16037902,"url":"https://github.com/joseluisq/strand","last_synced_at":"2025-04-05T05:41:52.343Z","repository":{"id":144202119,"uuid":"216913823","full_name":"joseluisq/strand","owner":"joseluisq","description":"Tiny package to just generate secure random bytes or strings with fixed length.","archived":false,"fork":false,"pushed_at":"2019-10-23T21:37:10.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-22T14:23:25.160Z","etag":null,"topics":["golang","golang-crypto","golang-package","random-bytes","random-string"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joseluisq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-10-22T21:34:21.000Z","updated_at":"2020-10-27T08:03:12.000Z","dependencies_parsed_at":"2023-10-12T07:30:35.143Z","dependency_job_id":null,"html_url":"https://github.com/joseluisq/strand","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"b3b1734659c85458225c5bd86621897f941bb315"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fstrand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fstrand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fstrand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fstrand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joseluisq","download_url":"https://codeload.github.com/joseluisq/strand/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294463,"owners_count":20915338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","golang-crypto","golang-package","random-bytes","random-string"],"created_at":"2024-10-08T22:22:10.643Z","updated_at":"2025-04-05T05:41:52.325Z","avatar_url":"https://github.com/joseluisq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strand [![Build Status](https://travis-ci.com/joseluisq/strand.svg?branch=master)](https://travis-ci.com/joseluisq/strand) [![codecov](https://codecov.io/gh/joseluisq/strand/branch/master/graph/badge.svg)](https://codecov.io/gh/joseluisq/strand) [![Go Report Card](https://goreportcard.com/badge/github.com/joseluisq/strand)](https://goreportcard.com/report/github.com/joseluisq/strand) [![GoDoc](https://godoc.org/github.com/joseluisq/strand?status.svg)](https://godoc.org/github.com/joseluisq/strand)\n\n\u003e Tiny package to just generate [secure](https://golang.org/pkg/crypto/rand/) random bytes and strings.\n\n## Supported Go versions\n\n- 1.10.3+\n- 1.11+\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/joseluisq/strand\"\n)\n\nfunc main() {\n\tstr, err := strand.randomString(32)\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(\"Result: \", str)\n\n\t// Result: 55b3b071fb00e08460639c05f5ba3ef0\n}\n```\n\n## Contributions\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in current work by you, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.\n\nFeel free to send some [Pull request](https://github.com/joseluisq/strand/pulls) or [issue](https://github.com/joseluisq/strand/issues).\n\n## License\n\nThis work is primarily distributed under the terms of both the [MIT license](LICENSE-MIT) and the [Apache License (Version 2.0)](LICENSE-APACHE).\n\n© 2019 [Jose Quintana](http://git.io/joseluisq)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Fstrand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoseluisq%2Fstrand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Fstrand/lists"}