{"id":15017540,"url":"https://github.com/shadowsocks/crypto2","last_synced_at":"2025-04-12T15:39:20.967Z","repository":{"id":46548494,"uuid":"263223080","full_name":"shadowsocks/crypto2","owner":"shadowsocks","description":"The fastest cryptographic library in the galaxy","archived":false,"fork":false,"pushed_at":"2022-12-17T11:53:27.000Z","size":400,"stargazers_count":350,"open_issues_count":6,"forks_count":39,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-29T15:45:02.505Z","etag":null,"topics":["crypto"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/shadowsocks.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":"2020-05-12T03:31:02.000Z","updated_at":"2024-08-30T01:59:22.000Z","dependencies_parsed_at":"2023-01-29T17:15:15.358Z","dependency_job_id":null,"html_url":"https://github.com/shadowsocks/crypto2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fcrypto2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fcrypto2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fcrypto2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fcrypto2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowsocks","download_url":"https://codeload.github.com/shadowsocks/crypto2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590661,"owners_count":21129870,"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":["crypto"],"created_at":"2024-09-24T19:50:38.354Z","updated_at":"2025-04-12T15:39:20.948Z","avatar_url":"https://github.com/shadowsocks.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Crypto\n\n[![License](https://img.shields.io/github/license/shadowsocks/crypto2.svg)](https://github.com/shadowsocks/crypto2)\n[![Build \u0026 Test](https://github.com/shadowsocks/crypto2/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/shadowsocks/crypto2/actions/workflows/rust.yml)\n[![crates.io](https://img.shields.io/crates/v/crypto2.svg)](https://crates.io/crates/crypto2)\n\nAn all-in-one cryptographic algorithm library in Rust.\n\n## Supported Details\n\n🚧 Interested but not implemented yet ✅ Implemented ❌ Not Interested\n\n### Hardware Acceleration\n\n#### X86/X86-64\n\n- ✅ AES\n- ✅ CLMUL\n- ❌ SHA（SHA1）\n- ✅ SHA（SHA2-256）\n\n#### AArch64\n\n- ✅ AES\n- ✅ PMULL\n- ❌ SHA1\n- ✅ SHA2 （SHA2-256）\n- ❌ SHA512 (SHA2-512)\n- ❌ SHA3\n- ❌ SM3\n- ❌ SM4\n\n### Digest Algorithms\n\n- ✅ MD2\n- ✅ MD4\n- ✅ MD5\n- ❌ MD6\n- ✅ SHA1\n- ✅ SHA2-224\n- ✅ SHA2-256\n- ✅ SHA2-384\n- ✅ SHA2-512\n- 🚧 SHA3-256\n- 🚧 SHA3-384\n- 🚧 SHA3-512\n- ✅ SM3\n- ✅ BLAKE2b\n- ✅ BLAKE2s\n- ✅ BLAKE3\n- ❌ RIPEMD\n- ❌ Whirlpool\n- 🚧 GOST\n\n### Symmetric Key Encryption (Block Alogrithms)\n\n- ❌ DES\n- ❌ 3DES\n- ✅ RC2 (or: ARC2)\n- 🚧 RC5\n- ❌ RC6\n- ✅ AES\n- ✅ SM4\n- ✅ Camellia\n- ✅ ARIA\n- 🚧 GOST（Magma、Kuznyechik）\n- ❌ Blowfish\n- ❌ Twofish\n- ❌ Threefish\n\n### Stream Cipher Alogrithms\n\n- ✅ RC4\n- ✅ Chacha20\n- 🚧 ZUC (in Chinese: 祖冲之算法)\n\n### Asymmetric Cryptographic Algorithm\n\n- 🚧 RSA\n- ❌ ED25519\n- 🚧 SM2\n- 🚧 SM9\n\n### Authenticated Encryption (AE) Algorithms\n\n- ✅ Chacha20Poly1305 (RFC7539)\n- ✅ Chacha20Poly1305OpenSSH (chacha20-poly1305@openssh.com)\n- ✅ AES-CCM\n- ✅ AES-OCB\n- ✅ AES-GCM\n- ✅ AES-GCM-SIV\n- ✅ AES-SIV (AesSivCmac256、AesSivCmac384、AesSivCmac512)\n\n- ✅ CAMELLIA-CCM\n- ✅ CAMELLIA-GCM\n- ✅ CAMELLIA-GCM-SIV\n\n- ✅ ARIA-CCM\n- ✅ ARIA-GCM\n- ✅ ARIA-GCM-SIV\n\n- ✅ SM4-CCM\n- ✅ SM4-GCM\n- ✅ SM4-GCM-SIV\n\n### Encryption Algorithms\n\n- ✅ AES-ECB\n- ✅ AES-CBC\n- ✅ AES-CFB1\n- ✅ AES-CFB8\n- ✅ AES-CFB64\n- ✅ AES-CFB128\n- ✅ AES-OFB\n- ✅ AES-CTR\n\n- ✅ CAMELLIA-CBC\n- ✅ CAMELLIA-CFB1\n- ✅ CAMELLIA-CFB8\n- ✅ CAMELLIA-CFB64\n- ✅ CAMELLIA-CFB128\n- ✅ CAMELLIA-OFB\n- ✅ CAMELLIA-CTR\n\n- ✅ ARIA-CBC\n- ✅ ARIA-CFB1\n- ✅ ARIA-CFB8\n- ✅ ARIA-CFB64\n- ✅ ARIA-CFB128\n- ✅ ARIA-OFB\n- ✅ ARIA-CTR\n\n- ✅ SM4-CBC\n- ✅ SM4-CFB1\n- ✅ SM4-CFB8\n- ✅ SM4-CFB64\n- ✅ SM4-CFB128\n- ✅ SM4-OFB\n- ✅ SM4-CTR\n\n### Key Derivation Function (KDF)\n\n- ✅ HKDF\n- 🚧 Scrypt\n- ❌ PBKDF2\n\n### Message Authentication Code (MAC)\n\n- ✅ HMAC\n- ✅ Poly1305\n- ✅ GMAC\n- ✅ CBC-Mac\n- ✅ CMac\n\n### Others\n\n- 🚧 bcrypt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fcrypto2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowsocks%2Fcrypto2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fcrypto2/lists"}