TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
fish
NA
1
0
SymmetricAlgorithm generates erratic results
Aug 8 2005 7:41 PM
Hi all,
I am using the default implementation of the SymmetricAlgorithm class (RijndaelManaged) to encrypt and decrypt files.
I am passing the files into my methods as a byte[], and returning a byte[]. I first ran into problems because the CryptoStream object was only writing in blocks, hence truncating my files. I've solved that
so my files are the correct lengths, but I am getting erratic failures. For example, I just encypted and decrypted
three pdf files. One opened with errors, one would not open at all (message said it was corrupt), and
one opened prefectly without any problem.
Any ideas on what could cause such erratic results?
Reply
Answers (
0
)
Authentication problem
Problem with IsInRole()