Related
user1455719: I have the following cryptojs based javascript encrypt/decrypt functions and they work fine. When encrypting a message with cryptpjs, I use a random salt, a random iv value and a specific cipher. When decrypting the encrypted message, I reused the
Sergio David Romero I need to implement AES encryption using JavaScript. Use AES/CBC/NoPadding mode, and created a way to do it in 16-length blocks. I have solved it using Java. look like: public static String encrypt(byte[] key, byte[] initVector, String valu
user1455719: I have the following cryptojs based javascript encrypt/decrypt functions and they work fine. When encrypting a message with cryptpjs, I use a random salt, a random iv value and a specific cipher. When decrypting the encrypted message, I reused the
username I have the following cryptojs based javascript encrypt/decrypt functions and they work fine. When encrypting a message with cryptpjs, I use a random salt, a random iv value and a specific cipher. When decrypting the encrypted message, I reused the sam
Kent I have an encrypted AES-256 string from CryptoJS with a passphrase. I need to decrypt it in Java but can't figure out how to do it. It seems that IV, key and salt are required to decrypt, as in the CryptoJS homepage , the encrypted data already contains a
Jamie Barker I'm trying to create encryption/decryption that will work between server/client. I use CryptoJS on the client side and ASP.Net (VB.Net) on the server side. The server side is used in many places so it can't be changed, so CryptoJS needs to work ar
Jojo 01 I am trying to encrypt using CryptoJS. The encryption seems to work fine, but when I decrypt the password, I don't get the initial plain text password. Here is my javascript code: <script type="text/javascript">
var password = "";
function noSsl()
{
Jamie Barker I'm trying to create encryption/decryption that will work between server/client. I use CryptoJS on the client side and ASP.Net (VB.Net) on the server side. The server side is used in many places so it can't be changed, so CryptoJS needs to work ar
User 4027821 I am using this library to create an AES encrypted string on Android and add this string to MySQL. Here are the parameters for lib: Now I want to decrypt the string via PHP: Here is the encrypted string: Plaintext: a
z8OVzJvtKHPCdT6PeFoEww==(encry
Seb I'm trying to encrypt plain text with AES using Ncrypt.lib and then decrypt it. I use Ncrypt.lib because I want to use a persistent symmetric key. My problem is that the decryption part works. In fact, I'm not decrypting my first 16 bytes correctly. #inclu
supply I am trying to decrypt a file encrypted with openssl using CryptoJS 3.1.5 . If I use CryptoJS for encryption and decryption, everything works fine, as does OpenSSL in the shell, but when I try to mix CryptoJS with OpenSSL everything goes wrong. Create t
Roberto 14 I'm trying to encrypt a string using phpseclib AES in CBC mode (the library's default): $cipher = new Crypt_AES();
$cipher->setKey('abcdefghijklmnop');
$cipher->setIV(crypt_random_string($cipher->getBlockLength() >> 3));
$cipher->encrypt("hello worl
Ichabod Clay I'm currently having issues decrypting an item in C# encrypted in CryptoJS using a key that is not 128, 192 or 256 bits in length. CryptoJS allows "odd" length keys during encryption/decryption, but symmetric algorithm classes in C# (for example R
Alvaro Maceda I'm trying to encode/decode data using CryptoJS as a preliminary test of the code I'm developing. Here is the code I use for encryption: <script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<script>
var mess
Alvaro Maceda I'm trying to encode/decode data using CryptoJS as a preliminary test of the code I'm developing. Here is the code I use for encryption: <script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<script>
var mess
username I have the following cryptojs based javascript encrypt/decrypt functions and they work fine. When encrypting a message with cryptpjs, I use a random salt, a random iv value and a specific cipher. When decrypting the encrypted message, I reused the sam
Jamie Barker I'm trying to create encryption/decryption that will work between server/client. I use CryptoJS on the client side and ASP.Net (VB.Net) on the server side. The server side is used in many places so it can't be changed, so CryptoJS needs to work ar
Kent I have an encrypted AES-256 string from CryptoJS with a passphrase. I need to decrypt it in Java but can't figure out how to do it. It seems that IV, key and salt are required to decrypt, as in the CryptoJS homepage , the encrypted data already contains a
Jamie Barker I'm trying to create encryption/decryption that will work between server/client. I use CryptoJS on the client side and ASP.Net (VB.Net) on the server side. The server side is used in many places so it can't be changed, so CryptoJS needs to work ar
user1455719: I have the following cryptojs based javascript encrypt/decrypt functions and they work fine. When encrypting a message with cryptpjs, I use a random salt, a random iv value and a specific cipher. When decrypting the encrypted message, I reused the
Jojo 01 I am trying to encrypt using CryptoJS. The encryption seems to work fine, but when I decrypt the password, I don't get the initial plain text password. Here is my javascript code: <script type="text/javascript">
var password = "";
function noSsl()
{
supply I am trying to decrypt a file encrypted with openssl using CryptoJS 3.1.5 . If I use CryptoJS for encryption and decryption, everything works fine, as does OpenSSL in the shell, but when I try to mix CryptoJS with OpenSSL everything goes wrong. Create t
Sergio David Romero I need to implement AES encryption using JavaScript. Use AES/CBC/NoPadding mode, and created a way to do it in 16-length blocks. I have solved it using Java. looks like: public static String encrypt(byte[] key, byte[] initVector, String val
Roberto 14 I'm trying to encrypt a string using phpseclib AES in CBC mode (the library's default): $cipher = new Crypt_AES();
$cipher->setKey('abcdefghijklmnop');
$cipher->setIV(crypt_random_string($cipher->getBlockLength() >> 3));
$cipher->encrypt("hello worl
Ichabod Clay I'm currently having issues decrypting an item in C# encrypted in CryptoJS using a key that is not 128, 192 or 256 bits in length. CryptoJS allows "odd" length keys during encryption/decryption, but symmetric algorithm classes in C# (for example R
Alvaro Maceda I'm trying to encode/decode data using CryptoJS as a preliminary test of the code I'm developing. Here is the code I use for encryption: <script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<script>
var mess
User 3197788 With the desired options (AES, ECB mode and PKCS7), as the question suggests, I can't seem to get the decrypted value right. I am encrypting like this: var ENC_KEY = "bXlrZXk="; //"mykey"
var encrypted = CryptoJS.AES.encrypt("hello", Crypto
Jamie Barker I'm trying to create encryption/decryption that will work between server/client. I use CryptoJS on the client side and ASP.Net (VB.Net) on the server side. The server side is used in many places so it can't be changed, so CryptoJS needs to work ar
Jojo 01 I am trying to encrypt using CryptoJS. The encryption seems to work fine, but when I decrypt the password, I don't get the initial plain text password. Here is my javascript code: <script type="text/javascript">
var password = "";
function noSsl()
{