Top "Initialization-vector" questions

Encrypt & Decrypt using PyCrypto AES 256

I'm trying to build two functions using PyCrypto that accept two parameters: the message and the key, and then encrypt/…

python encryption padding pycrypto initialization-vector
Good AES Initialization Vector practice

per my question Aes Encryption... missing an important piece, I have now learned that my assumption for creating a reversible …

c# initialization-vector aescryptoserviceprovider
Need solution for wrong IV length in AES

I'm trying to implement AES in Java and this is the code I use: byte[] sessionKey = {00000000000000000000000000000000}; byte[] iv = {00000000000000000000000000000000}; byte[] plaintext = "6…

java aes initialization-vector
Generating random IV for AES in Java

I'm implementing and AES encryption engine for PBE in android, and I've found two ways to implement the creation of …

java cryptography aes initialization-vector
What is an openssl iv, and why do I need a key and an iv?

I am about to use the following script to encrypt and decrypt some data. I am using it because my …

encryption secret-key php-openssl initialization-vector
AES-GCM with BouncyCastle throws "mac check in GCM failed" when used with IV

I'm relatively new to developing something with encryption. Right now I'm trying to write a class which encrypts and decrypts …

java encryption bouncycastle initialization-vector aes-gcm
PyCrypto - How does the Initialization Vector work?

I'm trying to understand how PyCrypto works to use in a project but I'm not fully understanding the significance of …

python python-3.x pycrypto initialization-vector
openssl- decrypting a base64 string with a key and IV

I'm trying to decrypt a base64 string which has been encrypted with aes256 in openssl. I was given the session …

openssl key aes encryption initialization-vector
AES encryption how to transport IV

I understand that unique IV is important in encrypting to prevent attacks like frequency analysis. The question: For AES CBC …

cryptography aes initialization-vector
Why is random IV fine for AES-CBC but not for AES-GCM

I have been using AES-CBC for encryption and I use a random IV each time I encrypt plain text. As …

encryption cryptography initialization-vector aes-gcm