aes_ecb_encrypt_with_tail

Function aes_ecb_encrypt_with_tail 

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

AES-128 ECB 加密(自定义 size block 格式,用于 TCP 登录 ReqEncryptData)

输出格式: [encrypted_blocks] + [unencrypted size_block(16B, last byte=remainder)] 对应成功项目的 aes_128_ecb_encrypt