networking - AES Rijndael and little/big endian? -
i using public domain reference implementation of aes rijndael, commonly distributed under name "rijndael-fst-3.0.zip". plan use encrypt network data, , wondering whether results of encryption different on big/little endian architectures? in other words, can encrypt block of 16 bytes on little endian machine , decrypt same block on big endian? , of course, other way around well.
if not, how should go swapping bytes?
thanks in advance help.
kind regards.
rijndael oblivious byte order; sees string of bytes feed it. should byte swapping outside of (with ntohs or whatever interface platform has purpose).
Comments
Post a Comment