This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
SmashLols's profile picture

HASHING how do i hash?

Started by SmashLols, 28 May 2015 - 04:42 PM
SmashLols #1
Posted 28 May 2015 - 06:42 PM
I need help to hash the input
code:

os.loadAPI("smashOS/sha256")
print("New Pass:")
local input = read()
--Then hash the input
Creator #2
Posted 28 May 2015 - 06:44 PM

hashythingy = sha256.sha256(input)
KingofGamesYami #3
Posted 28 May 2015 - 06:50 PM
Step 1: Get or write a hashing function.

sha256 has been adapted to CC already, and can be found on the forums.

Step 2: Use the function to hash.
Creator #4
Posted 28 May 2015 - 07:02 PM
lol, that obviousness