Galois/Counter mode of the Advanced Encryption Standard: A mode of operation of the AES block cipher which both encrypts and authenticates its input data.
Questions tagged [aes-gcm]
393 questions
-1
votes
1 answer
Unable to set IV for aes gcm using openssl
I am trying to use AES GCM encryption mechanism provided by OpenSSL in C++ and using example on this link as reference:
https://wiki.openssl.org/index.php/EVP_Authenticated_Encryption_and_Decryption
However, following statement gives me error:
/*…

Riddhi Rathod
- 115
- 1
- 10
-2
votes
1 answer
PyCryptodome decrypt_and_verify is returning "ValueError: MAC check failed"
I have this Java code
byte[] decoded= Base64.getDecoder().decode(str.getBytes(StandardCharsets.UTF_8));
byte[] copyfrom12= Arrays.copyOfRange(decoded, 0, Integer.parseInt("12"));
SecretKeySpec secretkeyspec= new…

hanan
- 532
- 2
- 7
- 23
-2
votes
1 answer
Verify an AES-256-GCM implementation with another tool
I need to verify the correctness of a tool, that follows the FIPS-197 standard. So I will receive a triple and I want to decode this triple (key, cypher, IV).
Is there a way to do this simply? Is there any online-implementation, that could be…

Shalec
- 172
- 9