Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Lua API Crypto
Leonard Ramminger edited this page Aug 10, 2026
·
1 revision
Hash files and strings, encode bytes, and compute HMAC digests.
| Function | Input | Output |
|---|---|---|
list_hash_algo() | — | { "sha256", …, "sdbm" } |
list_encode_algo() | — | { "hex", "base64" } |
is_hash(name) | string | boolean |
is_encoding_algo(name) | string | boolean |
hash_string(data, algorithm) | string, string | hex digest |
hash_file(path, [algorithm]) | path, string? | hex digest (default sha256) |
encode(data) | string | hex |
encode(data, encoding) | string, "hex"|"base64" | encoded string |
encode(data, key, hash) | string, string, string | HMAC hex |
- Digests:
sha256,sha512,sha1,md5 - Fingerprints:
fnv1a64,fnv1a32,crc32,djb2,sdbm
localsha=beez.crypto.hash_string("payload", "sha256")
localfile_hash=beez.crypto.hash_file("dist/app.tar.gz")
localb64=beez.crypto.encode("hello", "base64")
localmac=beez.crypto.encode("message", "secret-key", "sha256")Use with beez.net.download_and_verify to verify downloads.
Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
- Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes