-8

7c4a8d09ca3762af61e59520943dc26494f8941b

This is 123456, I don't know what kind of encryption it is and all the passwords are saving as it in my database so i need to know

closed as off-topic by Bob Brown, WhiteWinterWolf, ThoriumBR, schroeder, Xander May 31 '15 at 22:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – WhiteWinterWolf, ThoriumBR, schroeder, Xander
If this question can be reworded to fit the rules in the help center, please edit the question.

  • you could have also googled this string and received an answer – schroeder May 31 '15 at 18:42
4

It is an unsalted SHA-1 hash:

$ echo -n 123456 | sha1sum
7c4a8d09ca3762af61e59520943dc26494f8941b  -
$ 

This is a one-way operation, a hash, which is not technically "encryption" as it can't be decrypted.

  • 1
    This answer also pretty much says "whatever system this is from, throw it out and never look back". About the only thing that could be worse, I think, would be an unsalted MD5 hash. – a CVn May 30 '15 at 22:07
  • Agree with @MichaelKjörling - unsalted SHA1 is a very weak method of password storage. – tlng05 May 31 '15 at 2:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.