Skip to content

Pure LUA 5.2 code to generate SHA256 of strings, works in Fibaro Home Center 3

License

Notifications You must be signed in to change notification settings

Wojtekb30/Fibaro-LUA-SHA256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Fibaro-SHA256

Pure LUA code to generate SHA256 of strings (implementation of SHA256 algorithm in pure LUA 5.2), works in Fibaro Home Center 3.

Paste the code into your LUA 5.2 script or Fibaro HC3 LUA scene, and then use sha256() function to get SHA256 of a string.

Usage example (assuming the whole function code was copied and pasted into the script):

local input = "abc"

local result = sha256(input)

print("SHA256 of '" .. input .. "' :", result)

About

Pure LUA 5.2 code to generate SHA256 of strings, works in Fibaro Home Center 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages