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
...
Hello,
C# 2008
I am using the following code to encrypt and encrypt a message. However, when I attempt to decrypt I get a 'Bad Data' error.
Is there anything wrong with my code below?
Many thanks,
public string encryptText(string text)
{
try
{
TripleDESCryptoServiceProvider encrypt = new TripleDESCryp...
I have a database that I want to access via a .NET web application. I can encrypt the connection string in web.config easily enough, but any developer with access to the box can decrypt it with a few lines of code - they have access to the box, so therefore have access to the encryption key stored in machine.config.
While I can lock peo...
If I pass the current users credentials to a webservice by using system.net.credentialcache.defaultcredentials, on which way will the information be transfered?
I don't think that it will be clear text, so the credentials have to be encrypted, but how are they?
...
I need to send encrypted emails using C# without using any third party component. This is pretty much working as long as I do not need attchments on the email but as soon as I add attchments, I face the same problem as described on http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/74e4711e-1f66-43a7-9e3b-bc9cfbcd1b73/
The...
does this encryption library use pipe characters? I'm storing the key in an array with the corresponding UserID value, and delimiting them with a pipe character. If the library generates keys with pipe characters, those keys will get mangled when I split the string later.
...
I am working on a base encryption method. I am using RijndaelManaged. I got this code from somewhere a long time ago, but can't remember where.
I had my code working before, but something changed and I cannot quite figure it out.
When I run my code, I get the following error;
Specified initialization vector (IV)
does not match th...
Hi,
I'm looking for a way to encrypt a HTML form in PHP in a way so I can then decrypt it in the browser using JavaScript. This should work transparently to the user and JavaScript input validation must also work on the form (I know how to do this). When user submits the form, it must be encrypted again and sent to the server using an "...
I have a LOB application in SL, one of the aims is to save partially entered data to persist user's state. for example, you start adding a new employee to system, close the browser (or it crashes), next time you open the browser, you have whatever data you had entered before.
the saving and loading is easy, I was wondering if there is a...
I have to implement a digital envelope using AES and RSA, but I am having problems with the .NET implementation of the RSA algorithm.
I have managed to encrypt the data (AES) with the random symetric key, but now I have to encrypt the key with RSA.
The key is an array of bytes (byte[]) and the public key I have tells me only the modulu...
Hi,
I am half th way of my problem,,. Please Help
I have succesfuly encrypted the text using public key of digital signatures but while decrypting it. i am getting error
Error occurred while decoding OAEP padding
my piece of code
#region
Test Encryption
public void a()
{
using (var rsa = new RSACryptoServiceProvider())
{
// This St...
We are trying to calculate a HMAC-SHA256 digest in Coldfusion and we are using the HMAC CFC, but in one case it is producing a different result for the digest compared to ones generated in different languages - have tried the same data using Ruby & PHP and get the expected result. I have also tried the CF_HMAC custom tag it is based on a...
Hi,
Using the function from: http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged.aspx
public static byte[] encryptStringToBytes_AES(string plainText, byte[] Key, byte[] IV)
As you can see it returns a byte array, I want to convert the byte array to a string.
How can I convert it from a byte array to ...
Hi,
I need a simple encryption algorithm that doesn't use a key.
Which ones do you guys recommend?
How about if I use the built in encryption method that forms authentication has? (I forget the method/namespace for it).
...
Which method do you suggest to efficiently secure your embedded database in Delphi applications?
Here are the methods I've tested:
Using Molebox Pro
Pros - Fast, unpacking is not child's play, no additional task/coding
Cons - Database will be read-only, same drawbacks as exe compressors
Using DISQLite3
Pros - Overcome Molebox's r...
Don't know much about encryption...
Say I'm preparing a SAML request to submit to an identity provider. Why would I need to apply an x.509 certificate to this request? Is transmission over SSL alone not secure enough?
...
in continuation of the http://stackoverflow.com/questions/949907/error-occurred-while-decoding-oaep-padding
question
I have modified my code and now i am trying this code
CspParameters cspParam = new CspParameters();
cspParam = new CspParameters();
cspParam.Flags = CspProviderFlags.UseMachineKeyStore;
clsCertificates cc = new clsCer...
Hi all,
I'm producing a dll for a business partner of mine that he is going to integrate into his app. But I also want to somehow lock the dll so it cannot be used by anyone else. The API of the dll is quite straight forward so it'd be easy to reverse-engineer and use it elsewhere.
How do I do that? My only idea so far would be to add ...
Hi,
I have following native code (Powerbuilder) with uses the Crypto API to encrypt a string. I need C# code to decrypt the encrypted data. Can somebody give me a hint or sample?
Thanks, Jaap
private function blob of_encryptdecrypt (blob ablob_data, string as_password, boolean ab_encrypt)
// ------------------------------------------...