Top "Aes" questions

Advanced Encryption Standard (AES) is a cryptographic block cipher algorithm.

cryptojs: How to generate AES passphrase

I want to generate a 256bit password for my AES encryption. When I check the password after the encryption it …

encryption passwords aes cryptojs
Java default Crypto/AES behavior

Does anyone know what the default Java crypto behavior is for: SecretKeySpec localSecretKeySpec = new SecretKeySpec(arrayOfByte, "AES"); Cipher localCipher = Cipher.…

java cryptography aes
How to encrypt plaintext with AES-256 CBC in PHP using OpenSSL?

I am trying to encrypt sensitive user data like personal messages in my php powered website before entering into the …

php cryptography aes php-openssl
Passphrase, Salt and IV, do I need all of these?

If I am using Rijndael CBC mode, I have no idea why we would need salt. My understanding is even …

encryption aes rijndaelmanaged
Reading from a cryptostream to the end of the stream

I'm having some trouble with the code below. I have a file in a temporary location which is in need …

c# encryption cryptography aes rijndaelmanaged
AES encryption on large files

I need to encrypt and decrypt large file (~1GB). I tried using this example: http://www.codeproject.com/Articles/769741/Csharp-AES-bits-Encryption-Library-with-Salt …

c# .net encryption aes
'BadPaddingException: pad block corrupted' while decrypting using AES/ECB

In Android/java app, byte[] data = ":ʺ$jhk¨ë‹òºÃ"; // fetched from php server.. Cipher cipher = Cipher.getInstance("AES"); cipher.init(Cipher.DECRYPT_…

java android aes badpaddingexception
Node.js and crypto library

I'm having weird issues with Node's crypto library. I wrote this simple AES testing script: var cipher = crypto.createCipher('aes-256…

node.js encryption aes node-crypto
AES encryption: InvalidKeyException: Key length not 128/192/256 bits

I'm trying to encrypt a string on Android with AES. The symmetric key is determined previously with the Diffie-Hellman algorithm …

android encryption aes diffie-hellman
How can I decrypt a string using AES algorithm in c#?

I have an encrypted string from one of our customers. This string was encrypted using the AES method in Java. …

c# aes encryption rijndaelmanaged