steemit / libcrypto-js

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

Random generator #17

Open jnordberg opened 6 years ago

jnordberg commented 6 years ago

Expose/implement randomBytes method

Needed to implement: https://github.com/steemit/rpc-auth/issues/9

lopugit commented 5 years ago

is this still open?

how do you recommend generating sha256's? libcrypto-js.sha256('randomseed') doesn't work as it expects an ArrayBuffer, but how do you randomize the outputted sha256?