Mike SD Posted May 14, 2009 Share Posted May 14, 2009 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 More sharing options...
Mchl Posted May 14, 2009 Share Posted May 14, 2009 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.... Link to comment https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/#findComment-833958 Share on other sites More sharing options...
Mike SD Posted May 14, 2009 Author Share Posted May 14, 2009 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 Link to comment https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/#findComment-833961 Share on other sites More sharing options...
Mchl Posted May 14, 2009 Share Posted May 14, 2009 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? Link to comment https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/#findComment-833964 Share on other sites More sharing options...
Mike SD Posted May 14, 2009 Author Share Posted May 14, 2009 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 Link to comment https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/#findComment-833975 Share on other sites More sharing options...
Mchl Posted May 14, 2009 Share Posted May 14, 2009 Maybe these 'magic keys' have something to do with salt? http://en.wikipedia.org/wiki/Salt_(encryption) Link to comment https://forums.phpfreaks.com/topic/158096-sha1-encryption-with-magic-key/#findComment-833981 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.