Page 1 of 1
How to encrypt output like this
Posted: Mon Apr 09, 2007 10:58 am
by net1
Hi,
I would like to know how or what is method to generate output strings like this.
If you know the method then if this can be decode or it only one-way encryption?
Thank you
Posted: Mon Apr 09, 2007 11:01 am
by feyd
That appears to be a
base64_encode() result.
base64_decode() will return it to "normal."
Posted: Mon Apr 09, 2007 11:13 am
by net1
Yes, it look like base64_encode but when I test with base64_decode it give unreadable text then I think it might be some method that using base64.
Posted: Mon Apr 09, 2007 11:17 am
by Oren
net1 wrote:I think it might be some method that using base64.
Maybe.
Posted: Mon Apr 09, 2007 5:47 pm
by dreamscape
It appears to be binary data that has been base64 encoded. If you convert it [the binary data] to hex, you get a 32 bit string, which could just be pure coincidence, or it could be a sign that it is the result of some 32 bit one-way encryption algorithm.
Posted: Mon Apr 09, 2007 8:05 pm
by feyd
I believe dreamscape means a 32 nibble string, not bit.
Indeed the result is a 16 byte binary string, which converts to 32 nibbles. Likely a result of an MD5, or other 128 bit algorithm.
Posted: Mon Apr 09, 2007 9:06 pm
by net1
Now I know that this string is the result of encryption from number 7200
Posted: Mon Apr 09, 2007 10:13 pm
by dreamscape
feyd wrote:I believe dreamscape means a 32 nibble string, not bit.
Silly me... actually I meant a 32 byte hex string and 128 bit algo, not 32 bit string and 32 bit algo... I knew my brain felt a bit like pudding today.
