Jump to content




small hashing/encryption api


  • You cannot reply to this topic
No replies to this topic

#1 valithor

  • Members
  • 1,053 posts

Posted 30 August 2015 - 04:57 AM

I got bored a few days ago, so I wrote up a simple little form of hashing and encryption. I really have no idea how secure these actually are, so I am releasing them so others can help my figure it out. :D

Tired of those huge hashing apis, well here is a 19 line one!

Example of using hash function. Notice, when using it to only put in 2 arguments.
Spoiler

pastebin for hashing: http://pastebin.com/J7iXAAek

Made a short little encryption api to go with the hashing api. It is built upon the same concept. Just know the encryption is only as strong as the key you use to encrypt.

Encryption code
Spoiler

pastebin for encryption: http://pastebin.com/cyiVcsMm

Note: It is still possible to brute force this just as it would be for any other hashing/encryption api.
Note2: I believe this is secure, but if anyone can show me it is not I would love to know. I am basing another project of mine off of a similar concept, and would like to know that it isn't secure before I finish.

Edited by valithor, 31 August 2015 - 02:40 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users