Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/citahub/libsm
A Rust Library of China's Standards of Encryption Algorithms (SM2/3/4)
https://github.com/citahub/libsm
cipher cryptography sm2 sm3 sm4
Last synced: 14 days ago
JSON representation
A Rust Library of China's Standards of Encryption Algorithms (SM2/3/4)
- Host: GitHub
- URL: https://github.com/citahub/libsm
- Owner: citahub
- License: apache-2.0
- Created: 2018-07-23T03:16:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T03:24:43.000Z (11 months ago)
- Last Synced: 2024-08-13T20:17:27.309Z (3 months ago)
- Topics: cipher, cryptography, sm2, sm3, sm4
- Language: Rust
- Homepage:
- Size: 185 KB
- Stars: 224
- Watchers: 12
- Forks: 72
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-cryptography-rust - libsm
README
# Libsm
Libsm is an open source pure rust library of China Cryptographic Algorithm Standards. It is completed by a collaborative effort between the Cryptape Technology LLC. and BEIHANG KNOC LAB. And now this project is maintained by Cryptape Technology LLC.
## GM/T Algorithms
Libsm implements the following GM/T cryptographic algorithms:
* SM2 (GM/T 0003-2012): elliptic curve cryptographic schemes including digital signature scheme, public key encryption, (authenticated) key exchange protocol and one recommended 256-bit prime field curve sm2p256v1.
* SM3 (GM/T 0004-2012): cryptographic hash function with 256-bit digest length.
* SM4 (GM/T 0002-2012): block cipher with 128-bit key length and 128-bit block size, also named SMS4.## Documents
* [SM2](/docs/sm2.md)
* [SM3](/docs/sm3.md)
* [SM4](/docs/sm4.md)## License
Libsm is currently under the [Apache 2.0 license](LICENSE.txt).