DescriptionThis is a hashing algorithm that can take an input of any length and return a unique 64-character-output in hexadecimal (256 bits). The great thing about this is the feature called the Avalanche Effect, where you can calculate the hash of a huge file of any size (gigabytes, terabytes in size), then change a single bit and recalculate that hash, now both hashes will be entirely different hashes with around half of the bits flipped. You can probably imagine how many uses this has in cryptography.
Using the fastest computer in the world, it would take roughly ten times the age of the universe to reverse engineer one of these hashes.
So if you're going to have a password system (or something similar), then hash the password and compare it to the hash of what the user types. This will make the password almost guaranteed impossible to crack. That's how programmers work with passwords.
I'd love to see somebody make a bitcoin wallet generator with this!InstructionsIt runs an average of 106 (previously 71) hashes per second on the New 3DS.
Usage is straightforwardPRINT SHA256("Hello World")Prints out A591A6D4 0BF42040 4A011733 CFB7B190 D62C65BF 0BCDA32B 57B277D9 AD9F146E