Expand description
Machine-stable 256-bit key derivation for AES-256-GCM.
The key is derived once per process from the hostโs hardware UUID using
SHA-256: key = SHA-256("Land-Encryption-v1" ++ machine_id).
If the machine ID cannot be obtained on this system, DeriveKey returns
Err so callers can surface a meaningful error rather than silently
falling back to a constant key that is identical on every affected machine.
Staticsยง
- DERIVED_
KEY ๐
Functionsยง
- Compute
Key ๐ - Fn
- Returns the process-wide 256-bit encryption key.
- Read
Machine ๐Id