Re: [naviserver-devel] Verifying HMAC signature [ns_crypto::hmac ...]

2020-05-26 Thread Iuri de Araujo Sampaio
Thanks Gustaf, Yes, it works fine! I was not capable to understand the verification part. I was trying to learn it by repeating the method of base64* with encode/decode. Then, after decrypting, to verify if secret and data were both the same from the original request Best wishes, I On May 26,

[naviserver-devel] Verifying HMAC signature [ns_crypto::hmac ... ]

2020-05-25 Thread IURI
Hi there, How can I verify HMAC signatures, using [ns_crypto::hmac ...]? For example, one has sent an encrypted message: set secret_message [ns_crypto::hmac string -digest sha256 "Abracadabra" "What is the magic word?"] ... and another wants to verify integrity and authenticity of that messa

[naviserver-devel] Verifying HMAC signature [ns_crypto::hmac ... ]

2020-05-23 Thread iuri
Hi there,How can I verify HMAC signatures, using [ns_crypto::hmac ...]?For example, one has sent an encrypted message:set secret_message [ns_crypto::hmac string -digest sha256 "Abracadabra" "What is the magic word?"]... and another wants to verify integrity and authenticity of that message in t