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
M Mir
NA
1
1.4k
What is the problem of this encryption and decryption code?
Aug 7 2012 3:10 AM
Hi everyone,
I need to encrypt and decrypt a swf file. For this, I'm using a code like this(I attached the FileEncryptor class):
var fEn = new FileEncryptor("password");
fEn.AesEncrypt(@"C:\Users\Public\Pictures\Sample Pictures\Penguins.jpg", @"C:\Users\Public\Pictures\Sample Pictures\PenguinsEn.jpg");
fEn.AesDecrypt(@"C:\Users\Public\Pictures\Sample Pictures\PenguinsEn.jpg", @"C:\Users\Public\Pictures\Sample Pictures\Penguins1.jpg");
fEn.AesEncrypt(@"C:\Users\Public\Videos\Sample Videos\demo.swf", @"C:\Users\Public\Videos\Sample Videos\dec\demo.swf");
fEn.AesDecrypt(@"C:\Users\Public\Videos\Sample Videos\dec\demo.swf", @"C:\Users\Public\Videos\Sample Videos\demo1.swf");
However,
after
decrypting
the
encrypted
swf
file,
I
can't
play
that
in
flash
player,
I
also
tested
the
code
for
pictures
and
worked
well.
What's
the
problem?
thanks
Attachment:
fileencryptor.zip
Reply
Answers (
0
)
Time Calculation in asp.net,C#
multiple image insertion into a cell of gridview