browserify / crypto-browserify

partial implementation of node's `crypto` for the browser
MIT License
654 stars 199 forks source link

Sha512 listed as implemented, but throws error #153

Closed swimmadude66 closed 8 years ago

swimmadude66 commented 8 years ago
EXCEPTION: Error: algorithm: sha512 is not yet supported
we accept pull requests
http://github.com/dominictarr/crypto-browserify
dcousens commented 8 years ago

It is certainly supported. What versions are you running? node, crypto-browserify, etc

swimmadude66 commented 8 years ago
node --version
v6.0.0

I'm unsure how to check crypto-browserify version, since it is pulled down by gulp-browserify at build time.

dcousens commented 8 years ago

https://github.com/deepak1556/gulp-browserify

NOTE: THIS PLUGIN IS NO LONGER MAINTAINED , checkout the recipes by gulp team for reference on using browserify with gulp.

Perhaps just try browserifying an example yourself? If that still doesn't work, I'd be interested to find out more about why..

swimmadude66 commented 8 years ago

right on the money. I swapped out gulp-browserify for one of the browserify recipes and Bob's your uncle! Thanks for the help!

adridadou commented 7 years ago

Hi, sorry I feel stupid but I don't get what you have done. I have the same issue and I don't see how I can rid of this error message. Can you tell me what you mean by "swapped out gulp-browserify for on of the browserify recipes" ? Thx!

dcousens commented 7 years ago

@adridadou just use browserify directly. If you still need gulp, you could make your own transform, or update that plugin and submit a pull request.

adridadou commented 7 years ago

I see. So I need to use browserify directly instead of using gulp-browserify. I'll try that and hopefully everything will work. Thank you !