Jump to content

SHA1 encryption with magic key


Mike SD

Recommended Posts

Hello Everyone

 

Does anyone know how to use Magic Keys in a SHA1 encryption?

I can use the SHA1 encryption (please see below) but I have been given 5 magic keys to use and I dont know how to use them

 

$str = 'test';
echo sha1($str);

 

Result:

test = a94a8fe5ccb19ba61c4c0873d391e987982fbbd3

 

Thanks for your time

Link to comment
https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/
Share on other sites

A magic key? For sha1 ?

 

Never heard of these? Where did you get those, and why do you think you should use them?

 

Oh... and SHA1 is not an encryption algorithm....

 

 

I asked for the encryption type used in a program, the answer he gave was:

"It uses SHA1 with the following 5 magic keys"

One of the keys is: 98badcfe

 

I have been searching google trying to find a way of implamenting the magic keys, but I cannot find any information on them at all

Perhaps you should ask once again.

 

SHA1 is not an encryption algorithm. It's hashing algorithm, and it does not use any magic.

http://en.wikipedia.org/wiki/SHA_hash_functions

 

What kinf of program it is, and what is being 'encrypted' in it?

 

 

Perhaps you should ask once again.

 

SHA1 is not an encryption algorithm. It's hashing algorithm, and it does not use any magic.

http://en.wikipedia.org/wiki/SHA_hash_functions

 

What kinf of program it is, and what is being 'encrypted' in it?

 

Thanks

 

Its a scheduling program that I import into a MySQL database

The login passwords are being encripted

 

Im trying to use the programs login information in the online version

(Im not trying to hack anything)

 

I have gone back to the person who told me it was SHA1

Hopefully he can clarify this

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.