cryptotools
cryptotools is a cryptography library, with it you can:
- Encode to base64
- Decode the base64 value
- Encrypt to md5
Installing
In the file Cargo.toml
[]
= "0.3.0"
Usage
In the first example, if you want to encode and decode base64
use Base64Encode;
use Base64Decode;
// Encode
let encode = encode;
println!;
// Decode
let decode = decode;
println!;
To encrypt a value to md5
use MD5;
let md5 = MD5encrypt;
println!;
License
cryptotools is released under the MIT license. See LICENSE for details.