Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SHA-2 (SHA-256) #7

Open
fjakobs opened this issue Aug 5, 2013 · 1 comment
Open

Support SHA-2 (SHA-256) #7

fjakobs opened this issue Aug 5, 2013 · 1 comment

Comments

@fjakobs
Copy link

fjakobs commented Aug 5, 2013

Are you planning to add more hashing algorithms? I'm using rusha to compute HMAC codes and the backend might require HMAC-SHA-256 instead of HMAC-SHA-1. I really don't wanna use a different (slower) library for that.

@srijs
Copy link
Owner

srijs commented Aug 26, 2013

Hi there. Sorry for the late reply.

I'd really like to add more algorithms to Rusha, but unfortunately lack the temporal resources for that.
Tim Caswell claims his Cifre library (including SHA256) (https://github.com/openpeer/cifre) is also pretty fast. So you are probably better off using that for SHA256.

However, a less performant "base" version should be trivial to implement, as the mechanisms for converting input can be reused and only the RushaCore module would have to be swapped.
If someone would do that, I'd do my very best to optimize it to Rusha-typical performance ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants