{"id":28036396,"url":"https://github.com/pilinux/crypt","last_synced_at":"2025-05-11T12:56:09.072Z","repository":{"id":192552998,"uuid":"679128348","full_name":"pilinux/crypt","owner":"pilinux","description":"Encryption and decryption using various cryptographic algorithms following industry standards","archived":false,"fork":false,"pushed_at":"2025-05-09T00:47:11.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T12:54:28.783Z","etag":null,"topics":["aes","aes-gcm","chacha20-poly1305","cipher","cryptography","rsa"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilinux.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-16T06:48:41.000Z","updated_at":"2025-05-09T00:46:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe70c6cf-6fad-4dd1-90f7-7dfc5f3d386a","html_url":"https://github.com/pilinux/crypt","commit_stats":null,"previous_names":["pilinux/crypt"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilinux%2Fcrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilinux%2Fcrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilinux%2Fcrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilinux%2Fcrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilinux","download_url":"https://codeload.github.com/pilinux/crypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253568710,"owners_count":21928909,"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":["aes","aes-gcm","chacha20-poly1305","cipher","cryptography","rsa"],"created_at":"2025-05-11T12:56:08.542Z","updated_at":"2025-05-11T12:56:09.062Z","avatar_url":"https://github.com/pilinux.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypt\n\nPackage crypt provides functions for encrypting and decrypting data\nusing various cryptographic algorithms, including RSA and AES.\n\nThis package is designed to simplify the process of securely encrypting\nand decrypting data following industry standards. It includes functions\nfor key generation, encryption, and decryption using well-established\ncryptographic primitives.\n\n## Usage\n\n- [AES](_example/aes/main.go)\n- [ChaCha20-Poly1305 AEAD](_example/chacha20poly1305/main.go)\n- [XChaCha20-Poly1305 AEAD](_example/xchacha20poly1305/main.go)\n- [RSA](_example/rsa/main.go)\n- [Hashing](_example/hashing/main.go)\n\n## Generate RSA Keys\n\n### 256-byte\n\n```bash\nopenssl genpkey -algorithm RSA -out private-key.pem -pkeyopt rsa_keygen_bits:2048\nopenssl rsa -in private-key.pem -pubout -out public-key.pem\n```\n\n### 384-byte\n\n```bash\nopenssl genpkey -algorithm RSA -out private-key.pem -pkeyopt rsa_keygen_bits:3072\nopenssl rsa -in private-key.pem -pubout -out public-key.pem\n```\n\n### 512-byte\n\n```bash\nopenssl genpkey -algorithm RSA -out private-key.pem -pkeyopt rsa_keygen_bits:4096\nopenssl rsa -in private-key.pem -pubout -out public-key.pem\n```\n\n## LICENSE\n\n[license](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilinux%2Fcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilinux%2Fcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilinux%2Fcrypt/lists"}