Posted 03 May 2014 - 03:52 AM
Over the course of the last week or so, I've been working on a ComputerCraft Operating-System, and the first page is a login. Keep in mind that I am doing this on a server, so there will be multiple people storing passwords. We have a huge networking cable across the map, and I have a computer at my base that receives the passwords that people have been logging in with, and verifies that it is the correct password, and sends back a yes or no message. Anyway, what I needed, is a way to get that string of text (someone's password) and change it into a number, and totally mess it up by multiplying, adding, dividing…etc, so that if someone by change gets a hold of the password data they have no idea what that password is, and wont be able to mess up my whole system. What I really need help in, is knowing how to change the string of text (password) into a number so that I can mess it up and protect it, as I've explained above. Thanks. ;)/>
PS: If you have no idea what Im talking about, read this article on the hashing algorithm: http://en.wikipedia....i/Hash_function
PS: If you have no idea what Im talking about, read this article on the hashing algorithm: http://en.wikipedia....i/Hash_function