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

createHMac #14

Open
giovanischiar opened this issue Aug 28, 2018 · 5 comments
Open

createHMac #14

giovanischiar opened this issue Aug 28, 2018 · 5 comments

Comments

@giovanischiar
Copy link

I'd like to do things like this in RN:
crypto.createHmac('sha256', secret).update('abcdefg').digest('hex');
it is possible with this library?

@pedrouid
Copy link

pedrouid commented Jan 9, 2019

Hi @paullinator, any chance to get HMAC added to this package?

@paullinator
Copy link
Member

Sorry for the late response. Sorry it’s not in the roadmap at this point. HMAC is relatively fast in pure JS.

@nicolas-rohricht
Copy link

I'd like to do things like this in RN:
crypto.createHmac('sha256', secret).update('abcdefg').digest('hex');
it is possible with this library?

Giovanis, have you found any library to do that in RN?

@giovanischiar
Copy link
Author

I'd like to do things like this in RN:
crypto.createHmac('sha256', secret).update('abcdefg').digest('hex');
it is possible with this library?

Giovanis, have you found any library to do that in RN?

I had to use this library https://github.com/mvayngrib/react-native-crypto to be able to use TOTP Hmac based algorithm.

@morrigan
Copy link

How about supporting something like this: https://github.com/bitcoinjs/tiny-secp256k1 ?

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

No branches or pull requests

5 participants