https://github.com/wojtekb30/fibaro-lua-sha256
Pure LUA 5.2 code to generate SHA256 of strings, works in Fibaro Home Center 3
https://github.com/wojtekb30/fibaro-lua-sha256
algorithm fibaro fibaro-hc3 lua sha256 sha256-hash
Last synced: about 2 months ago
JSON representation
Pure LUA 5.2 code to generate SHA256 of strings, works in Fibaro Home Center 3
- Host: GitHub
- URL: https://github.com/wojtekb30/fibaro-lua-sha256
- Owner: Wojtekb30
- License: mit
- Created: 2024-11-09T20:48:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T21:02:15.000Z (6 months ago)
- Last Synced: 2025-01-23T13:33:02.946Z (3 months ago)
- Topics: algorithm, fibaro, fibaro-hc3, lua, sha256, sha256-hash
- Language: Lua
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)