PDA

View Full Version : BCTextEncoder not clear about


hugsy
October 29th, 2010, 09:03 AM
Hi. I have been testing BCTextEncoder for a while, its a app that scrambles your pure text, similar to PGP. What i found out is that the encrypted text always starts with these "wy4ECQMC" symbols, no matter what the unencrypted text is, how long, what the password is.
I am not a cryptography expert but would like to know is it OK, that encrypted message (aes256) starts always with the 8 same characters, is it suppose to be some kind of a header or is a "backdoor-ish" thingy.

Let me know.

p.s. i will post some screenshots at the end of the week, am in a bit of a hurry right now.

hugsy
November 1st, 2010, 11:23 AM
Here are the screenshots of the situations i described before. Passwords are different.

hugsy
November 16th, 2010, 02:03 PM
This is the reply i got from makers:

"Thank you for interest in our product.
The plain text you are going to encrypt is compressed first and then
encrypted. The encrypted binary message is converted to text
back by so called base-64 encoding procedure.
Every encoding stage saves result message in ASN.1 format. The message
has a header and a body. As you see 'wy4ECQMC' symbols
are base64-encoded header of encrypted message. The header contains
encrypted package tag and identifier of encryption algorithm.
BCTextEncoder currently does not allow to change the default encryption
algorithm so the header is same for different texts you encrypt.

I hope I put the matter clear."

~Removed private info~