ronnie-crypto

Crates.ioronnie-crypto
lib.rsronnie-crypto
version0.1.0
sourcesrc
created_at2023-09-29 15:15:48.140062
updated_at2023-09-29 15:15:48.140062
descriptionWrapped based on OpenSSL, including interfaces for AES, HASH, RSA, HMAC, HKDF, ECDH, etc.
homepagehttps://github.com/smallevilbeast/ronnie-crypto
repositoryhttps://github.com/smallevilbeast/ronnie-crypto
max_upload_size
id987461
size23,244
evilbeast (smallevilbeast)

documentation

https://docs.rs/ronnie-crypto

README

Ronnie Crypto

Wrapped based on OpenSSL, including interfaces for AES, HASH, RSA, HMAC, HKDF, ECDH, etc.

Examples

aes cbc

let key = b"abcdefghijklmnop";
let iv = b"abcdefghijklmnop";
let data  = b"Hello, world! This is a test of the openssl encryptor.";
let ciphertext = aes_cbc_encrypt(key, iv, data).unwrap();
Commit count: 12

cargo fmt