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
0
votes
1 answer
Openssl AES GCM-256 Htables
I want to re-implement a research paper for s-boxes for my semester project and I am short of time now. My part is to test different modes of aes (like cbc,ecb,ctr,gcm) with different sboxes. I am using openssl library 1.0.1i for the purpose. …

Eshaal
- 125
- 2
- 13
-1
votes
1 answer
Is AES in GCM mode still safe to use? And is there an even better solution to encrypt important data?
I have been searching the Internet for a good solution to securely encrypt my data, but I couldn't really find anything about it.
I would like to have a strong encryption of the data, like in password managers or similar.
I have come across a few…

Trexic
- 1
-1
votes
1 answer
How to decrypt pbkdf2 and aes/gcm data
I am trying to decipher the data presented in this format (password for decryption - 123123123, data taken from my phantom wallet):
{
"encrypted": "Cj7psrZSx4oyzdMHpmemhHT21HrRzQxZ9Qyk9v3g3sg3",
"nonce": "Gs1UtjfmNJ48rwqNPwfv5MMxcwFYpvtsd",
…

Alexander Prag
- 3
- 3
-1
votes
1 answer
AES-GSM mode Decryption issue in flutter(dart)
I am facing one issue with dart unable to decrypt data for AES-GCM mode with an authentication password.
Below is my dart code:
// Cipher Text Generated by Java.
String cipherText =…

Ezhilarasan S
- 1
- 1
-1
votes
1 answer
Best way to AES Encrypt large files (Approx. 5GB)
My Requirement:
I have a Azure Storage Account with 2 containers named Normal and Encrypted.
Now a zip file will be uploaded into "Normal" container which I need to encrypt and place it into "Encrypted" Container.
File can be anywhere between 3GB to…

Pathrudu Majji
- 69
- 6
-1
votes
1 answer
Flutter how to use AES GCM 256 algorithm to cipher and decrypt using pointycastle package
I have two functions witch cipher and decrypt data with AES-GCM algorithm but using cryptography package. I don't think its bad, it helped me a lot, but I want to translate them so I can use pointycastle package for all my different encryption and…

Antonycx
- 209
- 3
- 14
-1
votes
1 answer
Problem with encryption and decryption with AES-gcm 128 using C# .NET framework
I am trying to work with Encryption and Decryption using AES-gcm 128 bits using C# .NET Framework. But I could not find any good solutions with this problem. I have just found on this website, someone recommends to use Bouncy castle library.
I have…

Kom Pe
- 35
- 5
-1
votes
1 answer
No Such Algorithm : AES/GCM/NoPadding
I'm trying to use AES/GCM/NoPadding within the Java code for decryption. Below is the code
public static byte[] decryptRes(final byte[] sessionKey, final String symetricKeyAlg,
final String pkiProvider, final String encXML, final String…
-1
votes
1 answer
nodejs AES/GCM/NoPadding encryption
I referred nodejs encryption mentioned in https://stackoverflow.com/a/65072352/4910936 and i could encrypt and while decrypting getting error ""Error: Unsupported state or unable to authenticate data"
var crypto =…

Pat
- 535
- 1
- 16
- 41
-1
votes
1 answer
AES GCM key derivation swift
I'm trying to implement in swift the equivalent of my code in java. Basically is an AES implementation with GCM padding and I'm using a key derivation for that. In swift I'm using the CryptoSwift library.
My issue is that I cannot get the same…

snake_404
- 111
- 5
- 15
-1
votes
2 answers
CryptoKit-ios and Android encrypting and decrypting
I am trying to encrypt in android and decrypt in ios.I am using AES.GCM encryption however when i try to decrypt the package in ios i get Aunthetication faliure message.Below is the code for ios decryption
func…

md12
- 111
- 1
- 8
-1
votes
1 answer
What is right way doing aes gcm decription with sjcl.js?
I am trying to decrypt cipher content with sjcl.js crypto library in aes algorithm(gcm mode). This is my code:
//encrypted data and key
let key = "8mUzwnewfaBFKiGW/rO5Xw=="
let cipherText…

Ismayil Niftaliyev
- 305
- 5
- 8
-1
votes
1 answer
AES-GCM Encryption with JDK 1.8
Planning to add support of below Enc Algo:
AES128-GCM: http://www.w3.org/2009/xmlenc11#aes128-gcm
AES192-GCM: http://www.w3.org/2009/xmlenc11#aes192-gcm
AES256-GCM: http://www.w3.org/2009/xmlenc11#aes256-gcm
through JDK 1.8 Based Implementation,…

Atul Kumar
- 719
- 3
- 8
- 29
-1
votes
1 answer
How to solve the error?
I code the following code from
https://github.com/openssl/openssl/blob/master/demos/evp/aesgcm.c
I compiled it giving this command:
cc aesg.c -lmcrypt
I got this error:
aesg.c:66:30: error: ‘EVP_CTRL_AEAD_SET_IVLEN’ undeclared (first use in this…
-1
votes
2 answers
AES GCM encryption and decryption in JAVA
I am trying to implement AES/GCM/NoPadding encryption and decryption in JAVA .. the key used is a shared key from the public key of the receiver and the private key of the sender (ECDH).. encryption works well (with and without iv). However, I am…

Haya Raed
- 5,921
- 5
- 16
- 19