rust-crypto 主要介绍rust-crypto和tiny-keccak这两个Rust实现的密码学库。 rust-crypto Rust实现的密码学库,包含了密码学中常用的对称密码、公钥密码、单向散列函数、消息认证码、数字签名、随机数生成器等算法。目前支持以下算法: 代码示例1 //! SHA3-256 示例externcratecrypto;externcraterustc_hex;useself::cryp...
{"md5"=>Box::new(md5::Md5::default()),"sha1"=>Box::new(sha1::Sha1::default()),"sha224"=>Box::new(sha2::Sha224::default()),"sha256"=>Box::new(sha2::Sha256::default()),"sha384"=>Box::new(sha2::Sha384::default()),"sha512"=>Box::new(sha2::Sha512::default())...
MD5 PBKDF2 PKCS padding for CBC block cipher mode Poly1305 RC4 RIPEMD-160 Salsa20 and XSalsa20 Scrypt Sha1 Sha2 (All fixed output size variants) Sha3 Sosemanuk Whirlpool Releases2 Blake2s, libc upgrade, implement Clone + Copy for more structsLatest ...