common-crypto
Bindings for Apple's Common Crypto APIs.
Example
[]
= "0.1"
use ;
let encryptor = new
.iv
.encryptor
.unwrap;
let mut encrypted = Vecnew;
encryptor.update.unwrap;
let decryptor = new
.iv
.decryptor
.unwrap;
let mut decrypted = Vecnew;
decryptor.update.unwrap;
assert_eq!;
What's missing?
- Streaming support for CCHMac.
- CC_MD*
- CC_SHA*
- Resetting cryptors - I don't see a use case for this, so I won't implement it.
- Padding and rounds for cryptors. I want to make sure they're only configurable where they're actually supported.
Contributing
Feel free to contribute in any way you like.