Hi,
as proven by Debian test on S390x, this library has a different behavior in Big-Endian platforms: cipher.update(new Uint16Array([1234, 512])).finalName('hex') gives:
04d20200 on Big-Endian platforms
d2040002 on Little-Endian platforms like amd64
What should be fixed, the test of the toBuffer() method ?
Hi,
as proven by Debian test on S390x, this library has a different behavior in Big-Endian platforms:
cipher.update(new Uint16Array([1234, 512])).finalName('hex')gives:04d20200on Big-Endian platformsd2040002on Little-Endian platforms like amd64What should be fixed, the test of the
toBuffer()method ?