libsm_stzhang 0.2.0

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

SM3 is a hash function. To use SM3 in libsm:

1. Make sure that your data is `&[u8]`.

2. Create a `SM3Hash`. 

3. Get the digest.

Sample:

```
use libsm::sm3::Sm3Hash;

let string = String::from("sample");
let mut hash = Sm3Hash::new(string.as_bytes());
let digest: [u8;32] = hash.get_hash();
```