browserify / browserify/cipher-base
Different behavior on Endianness platforms
Open
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
as proven by [Debian test on S390x](https://bugs.debian.org/1112009), 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 ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.