pub fn aes256_encrypt(
    key: Key256,
    nonce: Nonce,
    counter: U32,
    msg: &ByteSeq
) -> ByteSeq