emn178 / js-sha3

A simple SHA-3 / Keccak hash function for JavaScript supports UTF-8 encoding.
MIT License
345 stars 85 forks source link

webpack & ArrayBuffer argument fix #10

Closed happylynx closed 7 years ago

happylynx commented 7 years ago

Previously expression sha3_512(<ArrayBuffer>) returned always the same value if <ArrayBuffer> was instance of ArrayBuffer and js-sha3 module was loaded using webpack no mater what value was stored in the ArrayBuffer object. It was caused by wrong recognition of ArrayBuffer argument since webpack loader doesn't call the topmost function with global object as an argument.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9f8c2a3fb349cadd9f3e90065a05f74ae9adaee8 on happylynx:arraybuffer-fix into f34e33dc997bf85b3c5f12ec28b25a1068538249 on emn178:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9f8c2a3fb349cadd9f3e90065a05f74ae9adaee8 on happylynx:arraybuffer-fix into f34e33dc997bf85b3c5f12ec28b25a1068538249 on emn178:master.

happylynx commented 7 years ago

reopen to rerun travis ci

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9f8c2a3fb349cadd9f3e90065a05f74ae9adaee8 on happylynx:arraybuffer-fix into f34e33dc997bf85b3c5f12ec28b25a1068538249 on emn178:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9f8c2a3fb349cadd9f3e90065a05f74ae9adaee8 on happylynx:arraybuffer-fix into f34e33dc997bf85b3c5f12ec28b25a1068538249 on emn178:master.