tpenaranda / vue-cryptojs

A small wrapper for integrating crypto-js into VueJS
Other
18 stars 8 forks source link

add signature for testing #2

Closed rebornishard closed 4 years ago

rebornishard commented 4 years ago

edit example

rebornishard commented 4 years ago

You're totally right @rebornishard, thank you so much!. But looks like 'Signature' should be the second paramater. What do you think if we use the same example as on CryptoJS docs [https://cryptojs.gitbook.io/docs/#hmac]

var hash = CryptoJS.HmacSHA1("Message", "Secret Passphrase");

Lol, i just did this before sleep, glad u review it, so it's CryptoJS.HmacSHA1("Message", "Key"); let me repair this pull thanks for guiding me

rebornishard commented 4 years ago

This should do it

tpenaranda commented 4 years ago

Thanks @rebornishard