An open API service indexing awesome lists of open source software.

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

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)