Provides cryptography utilities
Event.bind("onServerInit", function() local textToHash = "My Secret Text" local hashes = {"MD5", "SHA1", "SHA256", "SHA512", "Whirlpool"} for _, hashAlgo in pairs(hashes) do print(hashAlgo..": "..Hash[hashAlgo](textToHash)) end -- local key = "dizz" print("KMAC256: "..Hash.KMAC256(key, textToHash)) print("SKEIN256: "..Hash.SKEIN256(key, textToHash)) print("SKEIN512: "..Hash.SKEIN512(key, textToHash)) end)
There was an error while loading. Please reload this page.