help aescrypt advanced mode

Discussion related to AES Crypt, the file encryption software for Windows, Linux, Mac, and Java.
Post Reply
sarof
Posts: 2
Joined: Thu Jul 10, 2014 2:51 pm

help aescrypt advanced mode

Post by sarof »

Hi, i'm learning C # and I am creating a utility using the library aescrypt, but I can not use it in advanced mode using streams and do not know how to see the exceptions that generates such as when the wrong password, someone would be so kind as to explain to me how it works with a few snippets of example.

thank you :).
kenkendk
Posts: 5
Joined: Tue Jan 03, 2012 11:04 am

Re: help aescrypt advanced mode

Post by kenkendk »

"... I can not use it in advanced mode ..."

Does that mean that you don't know how to, or that your logic makes it impossible to use?
Does it work without using streams?

There is a post with examples here:
http://forums.packetizer.com/viewtopic.php?f=72&t=346

It should be fairly simple to figure out what exception is thrown if the password is incorrect, just try with another password and see what happens.

If you are looking for details regarding the error handling, look at the method ReadEncryptionHeader on line 324.
Specifically, an incorrect password is handled in line 382 and throws a CryptographicException.
sarof
Posts: 2
Joined: Thu Jul 10, 2014 2:51 pm

Re: help aescrypt advanced mode

Post by sarof »

i mean i don' t know how to use (sorry my english i'm italian). but now i understand the exceptions and the stream thanks a lot :) .
Post Reply