Skip to content

Different behavior on Endianness platforms #27

Description

@guimard

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions