Search found 5 matches

by kenkendk
Fri May 04, 2018 7:23 am
Forum: AES Crypt
Topic: Error Found During Encryption/Decryption (Invalid Header Marker)
Replies: 1
Views: 740

Re: Error Found During Encryption/Decryption (Invalid Header Marker)

The problem is this line: SharpAESCrypt.SharpAESCrypt.Encrypt(inputstream, outputstream, maxThreadCount); Not sure what you want, but somewhere you need to supply the passphrase, which is not present in your code. I guess you can change your code to include a passphrase argument like this: public st...
by kenkendk
Mon Jul 21, 2014 6:14 am
Forum: AES Crypt
Topic: help aescrypt advanced mode
Replies: 2
Views: 2762

Re: help aescrypt advanced mode

"... 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...
by kenkendk
Wed Sep 25, 2013 7:25 pm
Forum: AES Crypt
Topic: questions about sharpAESCrypt.dll
Replies: 1
Views: 2829

Re: questions about sharpAESCrypt.dll

You are omitting some code, but I assume you are attempting to read the stream that you are supposed to write. You can only write to a stream that you are encrypting, and you can only read from a stream that you are decrypting. The streams do not support seeking of any kind. Try using this template,...
by kenkendk
Fri Sep 07, 2012 8:19 am
Forum: AES Crypt
Topic: AESCrypt.dll in vb.net
Replies: 5
Views: 4509

Re: AESCrypt.dll in vb.net

The error message means that you are reading from a stream that is meant for encrypting. You should write unencrypted data to a stream that you are encrypting. The setup is: data -> aes -> file. The logic is that the AESCrypt instance is a "filter" for the underlying file data, which mimics how encr...
by kenkendk
Tue Jan 03, 2012 11:21 am
Forum: AES Crypt
Topic: Android Version?
Replies: 6
Views: 3188

Re: Android Version?

I just tried the Java code with Android for kicks, and it compiles fine, except that the NetworkInterface.getHardwareAddress() call does not exist in the Android Java library, but there are other unique values that can be used for seeding the PRNG on Android. But, as Paul points out, having an encry...