{"id":13764159,"url":"https://github.com/unix4fun/naclpipe","last_synced_at":"2026-01-12T02:04:47.016Z","repository":{"id":31563846,"uuid":"35128576","full_name":"unix4fun/naclpipe","owner":"unix4fun","description":"NaCL pipe","archived":false,"fork":false,"pushed_at":"2018-11-18T14:43:21.000Z","size":16185,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-11T09:10:18.691Z","etag":null,"topics":["argon2id","crypto","go","nacl","nacl-pipe","scrypt","tools"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unix4fun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-05T23:16:39.000Z","updated_at":"2024-05-06T13:56:37.000Z","dependencies_parsed_at":"2022-07-24T17:17:10.818Z","dependency_job_id":null,"html_url":"https://github.com/unix4fun/naclpipe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/unix4fun/naclpipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unix4fun%2Fnaclpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unix4fun%2Fnaclpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unix4fun%2Fnaclpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unix4fun%2Fnaclpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unix4fun","download_url":"https://codeload.github.com/unix4fun/naclpipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unix4fun%2Fnaclpipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["argon2id","crypto","go","nacl","nacl-pipe","scrypt","tools"],"created_at":"2024-08-03T15:01:17.089Z","updated_at":"2026-01-12T02:04:46.960Z","avatar_url":"https://github.com/unix4fun.png","language":"Go","readme":"# naclpipe\nNaCL Pipe Go Package\n\n## Purpose\nA simple experimental Go package providing an io.Reader/io.Writer interface with an NaCL (pronounced 'Salt') crypto backend.\n\n  * [np](https://www.github.com/unix4fun/naclpipe/tree/master/cmd/np)* is the previously called naclpipe tool using this Go package.\n\n\n## ChangeLog\n* 2018-11-17\n  * remove old unsafe backware compatibility code.\n  * tagged 0.2.0\n* 2018-06-24\n  * added argon2id key derivation function.\n  * upgraded the key derivation function and the parameters to a 2018 flavor.\n  * added some godoc documentation\n\n* 2018-04-01\n  * separating command 'np' and package 'naclpipe', this way package can eventually be reused as \"crypto\" stream.\n  * reusable io.Reader/Writer interface.\n  * Starting 'semver' and documenting, first version will be 0.1.0\n            \n* 2018-03-24\n  * fixing the empty scrypt salt reported by Tom Eklof \n  * better handling of pipe input.\n  * the structure has changed as the CSPRNG'ed salt is prefixed to the series of blocks\n\n## Package Example Usage \n\n    import \"github.com/unix4fun/naclpipe\"\n\n    // block size can be arbitrary, we read in block of datas\n    block := make([]byte, 8192)\n\n    // initilize my reader from stdin\n    cryptoReader, err := naclpipe.NewReader(os.Stdin, \"mysuperduperpassword\", naclpipe.DerivateArgon2id)\n    if err != nil {\n        log.Fatalf(\"naclpipe error\")\n    }\n\n    // read \u0026 decipher in block\n    _, err := cryptoReader.Read(b)\n\n## Package Usage Example / Tool\n\nsee *[np](https://www.github.com/unix4fun/naclpipe/tree/master/cmd/np)*.\n\n## Package Doc\n\n  * [godoc](https://godoc.org/github.com/unix4fun/naclpipe)\n\n## Featuring (because there is always a star in your production..)\n\n* [NaCL ECC 25519](http://nacl.cr.yp.to/install.html) box/secretbox [Go implementation](https://godoc.org/golang.org/x/crypto/nacl) AEAD using Salsa20 w/ Poly1305 MAC\n* [Argon2](https://en.wikipedia.org/wiki/Argon2) for today key stretching.\n* [Scrypt](http://en.wikipedia.org/wiki/Scrypt) for key stretching.\n* [SHA-3](http://en.wikipedia.org/wiki/SHA-3) for NONCE generation.\n* [Go](http://golang.org) because it works.\n","funding_links":[],"categories":["Software Packages","软件包","Go Tools","Go 工具","Other Software","軟件包"],"sub_categories":["Other Software","其他软件","其他软件库和软件包","其他軟件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funix4fun%2Fnaclpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funix4fun%2Fnaclpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funix4fun%2Fnaclpipe/lists"}