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

hmac testing #1

Open
prayagupa opened this issue Feb 6, 2020 · 1 comment
Open

hmac testing #1

prayagupa opened this issue Feb 6, 2020 · 1 comment

Comments

@prayagupa
Copy link
Member

openssl dgst -sha256 -hmac a1#2b <<< $(echo "dream")
42db96e0f488adad0557b547333e3d114e394600f90cb999bf2e37b3a426e539

openssl dgst -sha256 -hmac a1#2b <<< "dream\ndream"
5211e52c6fd47714ad46e456639c9e8ef640c0376154d572b4a171b187def67d

##
echo -n "dream" | openssl sha256 -hmac "a1#2b"
4489e030744a6346c43bb47707cf51b3b64bf3619acede4558832e568d0f40da


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

1 participant