I need to encrypt a string on the iPhone and send it to a .Net web service for decryption. I am able to encrypt/decrypt on the iPhone and with .Net, but the encrypted strings from the iPhone cannot be decrypted by .Net. The error I get is "Padding is invalid and cannot be removed."
The .Net code is from:
http://blog.realcoderscoding.c...
A file has been encrypted by Perl. Initial decrypt attempts failed and I am now trying to ascertain whether there is any hoojoo going on (some other settings required)
Duff Perl Code:
use strict;
use Crypt::Rijndael;
my $key ='...';
my $rcipher = Crypt::Rijndael->new ($key, Crypt::Rijndael::MODE_CBC());
undef $/;
my $encrypted = <>...
How secure is it to encrypt 16 bytes of data as a single block with AES? No salt/IV, no mode of operation, millions of different 16 byte blocks encrypted. I don't know enough about crypto but this smells to me.
Edit: to give a bit more detail this is not about encrypting a message but a database table column where the plain text length ...
What is a good link or article on encrypting a URL link with AES to pass username to another web site in ASP.NET using VB.NET 2005?
FYI: The receiving web site will have access to the private KEY to decrypt.
...
Hello there!
I need to mimic what MySQL does when encrypting and decrypting strings using built-in functions AES_ENCRYPT() and AES_DECRYPT().
I have read a couple of blog posts and apparently MySQL uses AES 128-bit encryption for those functions. On top of that, since this encryption requires a 16-bit key, MySQL pads the string with x0...
My problem is actually a bit more complicated than just how to use AES in VB.NET, since what I'm really trying to do is use AES in VB.NET from within a Java application across JACOB. But for now, what I need to focus on is the AES implementation itself.
Here's my encryption code
Public Function EncryptAES(ByVal toEncrypt As String, By...
Hello,
I need to encrypt a byte array in VB6 and decrypt it in C# (NET 2.0). And viceversa (C# to VB6).
In C# I used RijndaelManaged class. In VB6 I used free pieces of from Internet. The best seems to be http://www.frez.co.uk/freecode.htm#rijndael
But the two implementations generate different outputs starting from the same input :(
...
I recently ran across the notion of Identity Based Encryption (IBE) which seems like a novel idea. However, I haven't noticed many in the cryptography community attempting to find ways to break it. Am I wrong?
Likewise, I am of the belief that unless you can actually distribute open source implementations where the blackhat crowd can at...
Is there a library available for AES 256-bits encryption in Javascript?
...
Imagine I have this:
$cdata = AES_256($data, $pass);
AES_256 algorithm is: http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
If I know the content of $cdata and the content of $data and also have
the AES256() code, can I reverse engineer and find $pass?
...
I need to have a Win32 application load a hard coded AES-256 key, ideally using the WinCrypt.h methods. I've got my key in an unsigned char[32] but I can't find the correct format of a key blob to pass to CryptImportKey. Everything seems to give me invalid parameter errors. Is there any way to do this?
(Also important is how to set IV i...
Can someone provide me code to encrypt / decrypt using m2crypto aes256 CBC using Python
...
Hi,
How do I Generate AES key with seed value so that whenever I generate key with same seed value,I shud be able to get the same AES key?
I want to generate this key for my Blackberry Pearl 8100 device.
Please help.
Thanks.
Hi again,
I am not able to generate AES key with AESKey(keyData) .
Also whenever I print it either in the ...
I want to know is there any python 3.0 supported library for encryption. To encrypt files of 128 bits of data??
...
I'm connecting mi cell phone application in J2ME to a web service and I have to send a SHA256 hash to it in order to validate some data received. I also need to be capable to store some information encrypted into the cell phone. I was thinking to use AES (rinjdael) symmetric encryption.
Anyone knows about any code example using AES enc...
Hi I have created AES key in java using seed mechanism and the same thing using BlackBerry.
My input string for Seed is same in both of these case. But I am getting different AES. But the created AES key should be same.
Is there any online help for creating AES key using seed mechanism for BlackBerry
Thanks
Deepak
...
How to write a BlackBerry program for AES/CBC with Initialization Parameter ecncryption and Decryption
and this encryption and decryption should work independent on Programming language
Ex= If I encrypt some data using BlackBery I must be able to decrypt the same data using Java Program.
Thanks
Deepak
...
Hi,
I am developing a BlackBerry application where the server is in Java.
Whenever AES encrypted data is sent to server along with PKCS5 Formatting,
The server gets bad padding exception while decrypting it.
Please help.
Badly stuck in this issue
thanks.
...
I am using AES encryption in java
My friend uses the same in blackberry.
But I am unable to decrypt the data that my friend have sent.
Is there any help for this problem
Is there any online help for AES encryption in blackberry.
Thanks
Deepak
...
Cryptography newbie here... I'm trying to do 128-bit encryption using BouncyCastle with the code below.
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.KeyStore;
import java.security.Security;
import java....