Questions tagged [aescryptoserviceprovider]
68 questions
0
votes
2 answers
AES 128 CTR Mode Bit Shifting to Create Counter
I have access to some VC++ source code for which I am trying to convert to VB.NET. I previously asked a question regarding bit shifting, and although the answers given made sense and seemed rather simple to convert over to VB.NET, I am having…

Jay
- 885
- 1
- 7
- 9
0
votes
0 answers
Used AES encryption in my app. What should I need to do while uploading
I have used AES encryption in my iOS application to encrypt the images and save it to document directory. This is the only task done by my app with the encryption code.
Do I need to select "
Is your product designed to use cryptography or does it…

Piyush Hirpara
- 1,279
- 1
- 11
- 29
0
votes
1 answer
Specified initialization vector (IV) does not match the block size for this algorithm
I am trying to decrypt some texts and getting this error. I did google a lot and read articles. There are a lot of people with the same error but I can't solve mine.
Below is some code sample and you can see the IV that I am using.
The IV is…

Laurence
- 7,633
- 21
- 78
- 129
0
votes
2 answers
Using Win32 Crypto API
I can't find any help to implement PROV_RSA_AES CSP in c++. is there any article or book to help me out with it?

Dave_19
- 1
- 1
0
votes
1 answer
Cipher.getInstance() is failing with java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/ECB/ZeroBytePadding
I have an Android app that encrypts data using AES with ECB and ZeroBytePadding. Everything works fine in that environment: encrypted data gets decrypted in Android without a problem, as follows:
public static String encrypt(byte[] raw, byte[]…

FractalBob
- 3,225
- 4
- 29
- 40
-1
votes
1 answer
AES Implementation issue
Here is my code for AES implementation. When string is passed, it Encrypt the string successfully. but when i try to convert byte[] into sting using the above mentioned method, it gives error. and same it does not perform decryption. next all value…

Muhammad Faseeh
- 7
- 2
-1
votes
2 answers
AES: The input data is not a complete block
I am getting the following error while decrypting the content using AesCryptoServiceProvider. The mode which I need to use is CipherMode.CFB and PaddingMode is PKCS7. I am able to decrypt the same content in iOS with same key, IV, PaddingMode and…

Pravin Patil
- 418
- 5
- 23
-1
votes
4 answers
DecryptBytesFromBytes [AES] C#
I use this function to decrypt a executable file :
public static string DecryptStringFromBytes_Aes(byte[] cipherText, byte[] Key, byte[] IV) ...
But, this function return a string output I can see the ASCII output of my corresponding decrypted…

user1921028
- 3
- 1
- 3