gmsm 0.0.2

A Rust Library of China's Standards of Encryption Algorithms (SM2/3/4)
Documentation

gmsm

gmsm is an open source pure rust library of China Cryptographic Algorithm Standards.

GM/T Algorithms

  • SM2 (In the writing...)
  • SM3 (GM/T 0004-2012): cryptographic hash function with 256-bit digest length.
  • SM2 (In the writing...)

Documents

  • SM3

let hash_str = sm3_hex("abc");

// hex_str is "66C7F0F462EEEDD9D1F2D46BDC10E4E24167C4875CF2F7A2297DA02B8F4BA8E0";

License

gmsm is currently under the Apache 2.0 license.