{"id":10039112,"name":"github.com/github/simplebox","ecosystem":"go","description":"Package simplebox provides a simple, easy-to-use cryptographic API where all of\nthe hard decisions have been made for you in advance. The backing cryptography\nis XSalsa20 and Poly1305, which are known to be secure and fast.\n\nThis package uses NaCl's secretbox under the hood, but also includes a simple\nyet secure nonce generation strategy. A 24-byte random nonce is generated from\na secure source, used to encrypt a message, and prepended to the resulting\nciphertex. When it's time for decryption, the message is split back into nonce\nand ciphertext, and the message is decrypted.\n\nThanks to the size of the nonce, the chance of a collision is negligible. For\nexample, after encrypting 2^64 messages, the odds of there having been a\nrepeated nonce is approximately 2^-64.\n\nNote that although this strategy assures the confidentiality of your messages,\nit doesn't provide any protection against messages being reordered and replayed\nby an active adversary.\n\nThis idea is entirely based on the SimpleBox implementation included with\nRbNaCl: https://github.com/cryptosphere/rbnacl/wiki/SimpleBox","homepage":"https://github.com/github/simplebox","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/github/simplebox","keywords_array":[],"namespace":"github.com/github","versions_count":1,"first_release_published_at":"2024-05-20T20:03:31.000Z","latest_release_published_at":"2024-05-20T20:03:31.000Z","latest_release_number":"v0.1.0","last_synced_at":"2026-03-26T00:53:48.469Z","created_at":"2024-05-21T03:59:28.966Z","updated_at":"2026-03-26T00:53:48.469Z","registry_url":"https://pkg.go.dev/github.com/github/simplebox","install_command":"go get github.com/github/simplebox","documentation_url":"https://pkg.go.dev/github.com/github/simplebox#section-documentation","metadata":{},"repo_metadata":{"id":240788997,"uuid":"802178528","full_name":"github/simplebox","owner":"github","description":"Package simplebox provides a simple, easy-to-use cryptographic API where all of the hard decisions have been made for you in advance.","archived":false,"fork":true,"pushed_at":"2024-05-20T20:13:45.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-05-20T22:45:20.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"brandur/simplebox","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{},"created_at":"2024-05-17T17:11:08.000Z","updated_at":"2024-05-20T20:03:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/github/simplebox","commit_stats":null,"previous_names":["github/simplebox"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fsimplebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fsimplebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fsimplebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fsimplebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/simplebox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":203670134,"owners_count":14179296,"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"}},"repo_metadata_updated_at":"2024-05-21T04:00:10.154Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":7.8228838833817385,"dependent_packages_count":7.331649624779718,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":7.577266754080728},"purl":"pkg:golang/github.com/github/simplebox","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/github/simplebox","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/github/simplebox","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/github/simplebox/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgithub%2Fsimplebox/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgithub%2Fsimplebox/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgithub%2Fsimplebox/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgithub%2Fsimplebox/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgithub%2Fsimplebox/codemeta","maintainers":[]}