File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ This is a heavily adapted fork of the excellent [somesocks/lua-lockbox](https://
3030Upstream lua-lockbox is a fantastic general-purpose reference, but has seen low activity and is seeking new maintainers.
3131
3232### Quick usage in an Edge driver
33-
33+ Migration from lua-lockbox is a drop in other than replacing lockbox with crypto. The API remains compatible.
3434``` lua
3535local Crypto = require " crypto"
3636
@@ -59,7 +59,7 @@ local mac = hmac()
5959| ---------------------------------| --------------------------------------------| ---------------------------------------------------|
6060| ** Performance** | ** External bit library overhead** | ** Native bitwise operators** (8.5% faster avg) |
6161| Lua version | Broad compat (5.1+ with fallbacks) | ≥ 5.3 (native bitwise, integers) |
62- | Bitwise operations | Dynamic require (bit/bit32/numberlua) | Native `& | ~ << >>` operators |
62+ | Bitwise operations | Dynamic require (bit/bit32/numberlua) | Native operators |
6363| Rotations | Polyfill / compatibility layer | Native shift + 32-bit mask |
6464| CI | Travis | GitHub Actions + direct Lua 5.3 testing |
6565| Test suite | Original RFC vectors + edge cases | Fixed vectors, pruned problematic tests, large-data added |
@@ -75,4 +75,4 @@ If this library saves you time on your Edge driver, consider sponsoring developm
7575MIT (same as upstream)
7676
7777Original Implementation © 2015–2024 somesocks
78- Adaptations & SmartThings Edge Optimizations © 2022–2026 blueyetisoftware (BlueYeti Software Inc.)
78+ Adaptations & SmartThings Edge Optimizations © 2022–2026 blueyetisoftware (BlueYeti Software Inc.)
You can’t perform that action at this time.
0 commit comments