Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Shared variable storage/ Encryption Corruption

Thread Tools

Shared variable storage/ Encryption Corruption

Phil C.
Posts: n/a
I'm testing some Aes Encryption/Decryption for an application.
As part of testing forward encryption and backwards decryption,
I have some aspx pages with code behind that have a shared field/property
storing the IV generated during encryuption in byte array format to be used
during decryption of ascii
text that was encrypted with AES. I'm getting PKCS7 errors during
so the thought that comes to mind is that either the shared value has
gotten corrupted,
or that my aes key stored as Base64 is getting corrupted when being
converted back to
a byte array. If the former is the case, I'm not exactly sure how the
shared values are stored??? on the heap of the server???
If the later is the case, I'm going to right now generate a key as a byte
array and store it as a byte array in a shared variable to see what happens
during decryption.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
global variable is shared in shared library C Programming 1 07-15-2008 04:26 PM
Which hard drive encryption program has the strongest tested encryption & security? =?iso-8859-1?Q?-=3D|__=28=BAL=BA=29__|=3D-____o=3D=5B:::::::::::::::=BB?= Computer Security 6 02-20-2008 01:35 PM
Avoid memory corruption in shared memory used by several processes? Sune C Programming 14 08-26-2007 03:57 AM
Avoid memory corruption in shared memory used by several processes? Sune C Programming 5 07-13-2007 02:29 PM
Encryption increase possibility of corruption of file? rinmanb70 Computer Security 14 06-24-2006 05:04 PM