steemit / libcrypto-js

Cryptographic utilities for Steem in Javascript. Zero dependencies.
5 stars 17 forks source link

What size are ArrayBuffers meant to be for sha256 and ripemd160? #19

Closed lopugit closed 5 years ago

lopugit commented 5 years ago

Just wondering? I have implemented string seed support for generating sha256 hash but the toBits(data) is a bit vague in terms of what size the buffer should be?