#openssl #crypto #interface #hmac #ecdh #hkdf #rsa

ronnie-crypto

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

1 unstable release

0.1.0 Sep 29, 2023

#1626 in Development tools

MIT license

23KB
512 lines

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();

Dependencies

~1.8–2.7MB
~62K SLoC