Bindings for Apple's Common Crypto APIs.
toml
[dependencies]
common-crypto = "0.1"
```rust use common_crypto::{AES256, CryptorBuilder, Mode};
let encryptor = CryptorBuilder::
let mut encrypted = Vec::new(); encryptor.update(b"Hello", &mut encrypted).unwrap();
let decryptor = CryptorBuilder::
let mut decrypted = Vec::new(); decryptor.update(&encrypted, &mut decrypted).unwrap();
assert_eq!(decrypted, b"Hello"); ```
Feel free to contribute in any way you like.