Skip to main content

aes_256_ctr

Function aes_256_ctr 

Source
pub fn aes_256_ctr(key: &[u8; 32], data: &[u8]) -> Vec<u8> ⓘ
Expand description

openssl_encrypt($data, 'aes-256-ctr', $key, OPENSSL_RAW_DATA, str_repeat("\0", 16)): data XORed with the AES-256 keystream of a big-endian 128-bit counter from zero.