Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Christian Schmitz
Am 17.03.2014 um 17:34 schrieb Jean-Luc Arnaud jean-...@cdmultimedia.fr: Hi all, I recently got the whole set of MBS plugins. Wonderful but so big!!! :-) I'm looking for a way (property, method,...) to know is a file is still AES encrypted or not. There is no way to do this. If you

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Tim Jones
Hi Jean-Luc, Unfortunately, there’s no signature in an AES encrypted file - that’s part of the design, so there’s no way to check the file except to try and extract it. Tim On Mar 17, 2014, at 9:34 AM, Jean-Luc Arnaud jean-...@cdmultimedia.fr wrote: Hi all, I recently got the whole set

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Jean-Luc Arnaud
Ok, Thanks Christian and Tim. So, I have another question. When decrypting a file that is already decrypted, it seems like the result is an encrypted file. Then, encrypting this resulting file, I'm getting back my original file, that is not encrypted. Is this a normal behavior? Jean-Luc Le

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Tim Jones
What function are you calling for the pass? Tim On Mar 17, 2014, at 9:45 AM, Jean-Luc Arnaud jean-...@cdmultimedia.fr wrote: Ok, Thanks Christian and Tim. So, I have another question. When decrypting a file that is already decrypted, it seems like the result is an encrypted file. Then,

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Christian Schmitz
Am 17.03.2014 um 17:45 schrieb Jean-Luc Arnaud jean-...@cdmultimedia.fr: Ok, Thanks Christian and Tim. So, I have another question. When decrypting a file that is already decrypted, it seems like the result is an encrypted file. Then, encrypting this resulting file, I'm getting back my

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Jean-Luc Arnaud
I'm using MBS example, that is: Function DecryptAES(key as string, sourcefile as FolderItem, destfile as FolderItem) As Boolean // decrypt file with AES and CFB dim a as AESMBS = NewAES(key) if a = nil then Return false dim bi as BinaryStream = BinaryStream.Open(sourcefile,false) if bi = nil

Re: [MBS] Encrypted or decrypted file?

2014-03-17 Thread Jean-Luc Arnaud
Don't know... I tried that (two encrypt operations) and I get a double-encrypted file. I then need two decrypt operations in order to retrieve my original, unencrypted file. My code is based on MBS examples. Jean-Luc Le 17/03/2014 18:01, Christian Schmitz a écrit : Am 17.03.2014 um 17:45

[MBS] Encrypted or decrypted file?

2014-03-11 Thread Jean-Luc Arnaud
Christian and anyone who knows, I'm currently testing Encryption MBS plugin. I'm wondering if there is a way to know if a file is already encrypted or still decrypted? TIA for your help -- Jean-Luc Arnaud ___ Mbsplugins_monkeybreadsoftware.info

Re: [MBS] Encrypted or decrypted file?

2014-03-11 Thread Christian Schmitz
Am 10.03.2014 um 15:48 schrieb Jean-Luc Arnaud jean-...@cdmultimedia.fr: Christian and anyone who knows, I'm currently testing Encryption MBS plugin. I'm wondering if there is a way to know if a file is already encrypted or still decrypted? Well, which classes do you check? I would