Jump to content

Encryption

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I am not sure what type of encryption this is. It is 32 characters. I don't think its md5 because md5 usually doesn't have uppercase letters, sha1 is 40 characters. I am not familiar with any others. I tried googling it but that didn't get far. Does anybody here with a better knowledge of encryptions know which kind this is?

0C12EF333AD349DC8FD1CF8E529C4A59


#2
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
doesn't look like an encrypted message to me. I think it could be a key though.
0C12EF33 3AD349DC 8FD1CF8E 529C4A59
4 * 8 * 4 bits per digit = 128 bit key.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,822 posts
Whether MD5 uses uppercase is a style issue on the part of the programmer. It could very easily be MD5, though I would expect slightly fewer letters in that case.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
actually 128 bits is exactly right for md5, but it's usually put in lowercase, which looks smaller:
0C12EF333AD349DC8FD1CF8E529C4A59
0c12ef333ad349dc8fd1cf8e529c4a59
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#5
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I guess they could do a script to make it uppercase but I dont see the place I got it from to be huge on security I think they used its "as is" from what I can tell.

Does anybody have any other ideas as to what it might be?

A key? That actually seems like it might fit. I shall start to google all of this stuff to see if any of these idea work out.

Thanks again guys - if you find anything else that might fit please let me know.

#6
hkp

hkp

    Learning Programmer

  • Members
  • PipPipPip
  • 37 posts
you can use the following source code for the Encryption..

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

</head>

<body>

<%

set crypt = Server.CreateObject("Chilkat.Crypt2")


success = crypt.UnlockComponent("Anything for 30-day trial")

If (success <> 1) Then

    Response.Write "<pre>" & Server.HTMLEncode("Crypt component unlock failed") & "</pre>"


End If


password = "secretPassPhrase"


crypt.CryptAlgorithm = "aes"

crypt.CipherMode = "cbc"

crypt.KeyLength = 128


'  Generate a binary secret key from a password string

'  of any length.  For 128-bit encryption, GenEncodedSecretKey

'  generates the MD5 hash of the password and returns it

'  in the encoded form requested.  The 2nd param can be

'  "hex", "base64", "url", "quoted-printable", etc.

hexKey = crypt.GenEncodedSecretKey(password,"hex")

crypt.SetEncodedKey hexKey,"hex"


crypt.EncodingMode = "base64"

text = "The quick brown fox jumped over the lazy dog."


'  Encrypt a string and return the binary encrypted data

'  in a base-64 encoded string.

encText = crypt.EncryptStringENC(text)


Response.Write "<pre>" & Server.HTMLEncode( encText) & "</pre>"


'  Decrypt and show the original string:

decryptedText = crypt.DecryptStringENC(encText)


Response.Write "<pre>" & Server.HTMLEncode( decryptedText) & "</pre>"

%>

</body>

</html>