4 stable releases
| 1.1.0 | May 18, 2024 |
|---|---|
| 1.0.2 | May 18, 2024 |
| 1.0.1 | Oct 30, 2021 |
#2387 in Cryptography
142 downloads per month
4KB
Sha-to-hex
Simple function to encode string using secret and return hex string
use sha_to_hex::encode;
let encoded = encode(msg, secret);
To encode bytes use encode_bytes:
use sha_to_hex::encode_bytes;
let encoded = encode_bytes(msg_as_bytes, secret_as_bytes);
For full usage see docs.rs: encode
Dependencies
~5–16MB
~239K SLoC