Skip to content

xesdoog/SHA256-Lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SHA256-Lua

SHA256 hashing algorithm in pure Lua.

Usage Example (CLI)

local SHA256 = require("sha256")
::start::
io.write("Enter your message: ")
local msg = io.read("*l")
print(SHA256(msg))
goto start -- Prompt again unless keyboard-interrupted

Note

Lua is not intended for cryptographic operations. If you want better performance, use LuaJIT or add your own C bindings.

About

SHA256 hashing algorithm in pure Lua.

Topics

Resources

Stars

Watchers

Forks

Languages