I´ve implement the source and I get the following result from the AES-128-GCM-SIV with the following params in gcm_siv_memory()
Params (all in UTF-8):
INPUT: 0123456789abcdef
KEY : 0123456789abcdef
IV / NONCE : 0123456789abcdef (will be truncated to the length of 12-Bytes)
AAD : 0123456789abcdef
Results (base64-encoded):
Encrypt : cciPtpnmA7hGR3WBK1j4lQ==
TAG : vnomxFopChLQEkDlWFU77Q==
When i want to decrypt with the encrypted string and the tag with the params below, it doesn't decrypt the encrypted string.
Don´t know why - encryption should be correct, but decryption???
Can you explain it?
I´ve implement the source and I get the following result from the AES-128-GCM-SIV with the following params in gcm_siv_memory()
Params (all in UTF-8):
INPUT: 0123456789abcdef
KEY : 0123456789abcdef
IV / NONCE : 0123456789abcdef (will be truncated to the length of 12-Bytes)
AAD : 0123456789abcdef
Results (base64-encoded):
Encrypt : cciPtpnmA7hGR3WBK1j4lQ==
TAG : vnomxFopChLQEkDlWFU77Q==
When i want to decrypt with the encrypted string and the tag with the params below, it doesn't decrypt the encrypted string.
Don´t know why - encryption should be correct, but decryption???
Can you explain it?