barnacl 0.1.1

Fast cryptographic library for Rust (bindings to libsodium)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! `AES 128` in `CTR`-mode
//! This cipher is conjectured to meet the standard notion of
//! unpredictability.
use ffi::{crypto_stream_aes128ctr,
          crypto_stream_aes128ctr_xor,
          crypto_stream_aes128ctr_KEYBYTES,
          crypto_stream_aes128ctr_NONCEBYTES};

stream_module!(crypto_stream_aes128ctr,
               crypto_stream_aes128ctr_xor,
               crypto_stream_aes128ctr_KEYBYTES,
               crypto_stream_aes128ctr_NONCEBYTES);