browserify / sha.js

Streamable SHA hashes in pure javascript
Other
288 stars 60 forks source link

Extract hash.js for use in ripemd160 #25

Closed dcousens closed 7 years ago

dcousens commented 9 years ago

Right now hash.js is a really good plug-and-play model for block hashs. Perhaps we could extract it to a module where it can be used to easily implement block hashes that support streaming.

This would at least stop me having to duplicate it for ripemd160.

dcousens commented 9 years ago

@dominictarr thoughts?

dominictarr commented 9 years ago

sure! good idea, make a new module and then add a pr so that this module depends on it

dcousens commented 9 years ago

@calvinmetcalf relevant to https://github.com/crypto-browserify/cipher-base? In terms of, is it worth extracting this to that module?

calvinmetcalf commented 9 years ago

yes probably a good idea

fanatid commented 8 years ago

Any ideas about name for this new module?

calvinmetcalf commented 8 years ago

browserify-md5?

On Wed, Mar 30, 2016 at 5:36 AM Kirill Fomichev notifications@github.com wrote:

Any ideas about name for this new module?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/crypto-browserify/sha.js/issues/25#issuecomment-203346195

fanatid commented 8 years ago

@calvinmetcalf no, this is other issue :smile: support node streams in sha.js and ripemd160 (and in md5 that we want to extract) without cipher-base

calvinmetcalf commented 8 years ago

ah then like hash-base or something

fanatid commented 8 years ago

nice name, I'll try do this in nearest time!

dcousens commented 8 years ago

@fanatid maybe find out what the padding standard is called, and use that with the name.

dcousens commented 7 years ago

Thanks @fanatid

dcousens commented 7 years ago

Now just for ripemd160 :+1: