fork of boring2 with prefix patch
Go to file
Kevin Ballard 4e79896c96 Remove unnecessary `unsafe` blocks 2013-05-10 20:22:14 -07:00
.gitignore Add RC4 and AES-128 support to Cryptor 2013-03-11 20:49:04 +01:00
Makefile Add support for HMAC, RC4, AES-128, hex encoding, etc 2013-03-11 20:44:16 +01:00
README.md Add CTR and GCM support 2013-03-12 19:34:14 +01:00
crypto.rc Add RC4 and AES-128 support to Cryptor 2013-03-11 20:49:04 +01:00
hash.rs Remove unnecessary `unsafe` blocks 2013-05-10 20:22:14 -07:00
hex.rs Remove unnecessary `unsafe` blocks 2013-05-10 20:22:14 -07:00
hmac.rs Update for Rust 0.6 2013-04-20 01:12:03 -07:00
manifest.json manifest: Add license. 2011-12-15 21:43:44 -05:00
pkcs5.rs Update for Rust 0.6 2013-04-20 01:12:03 -07:00
pkey.rs Remove unnecessary `unsafe` blocks 2013-05-10 20:22:14 -07:00
rand.rs Update for Rust 0.6 2013-04-20 01:12:03 -07:00
symm.rs Remove debug prints in Crypter::final() 2013-04-20 13:47:34 -07:00

README.md

This package provides Rust bindings for the functionality exposed by OpenSSL's libcrypto. OpenSSL 1.0.1 or higher is required. Currently provided:

  • Hash functions (hash.rs)
    • SHA-512, SHA-384, SHA-256, SHA-224
    • SHA-1
    • MD5
  • Symmetric crypto (symm.rs)
    • AES-128 and AES-256 (ECB, CBC, CTR or GCM mode)
    • RC4-128
  • RSA (pkey.rs)
    • Encryption with PKCS #1 OAEP padding or PKCS #1 v1.5 padding
    • Signatures with PKCS #1 v1.5 padding and any supported hash