Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 v0.0.1 Nov 25, 2025 Changes in this version + const DEKSize + const RefSize + type DEK [DEKSize]byte + func DeriveKey(hf blobcache.HashFunc, entropy *[32]byte, additional []byte) DEK + func (dek *DEK) IsZero() bool + func (dek *DEK) UnmarshalJSON(data []byte) error + func (dek DEK) MarshalJSON() ([]byte, error) + type Machine struct + func NewMachine(salt *blobcache.CID, hf blobcache.HashFunc) *Machine + func (w *Machine) Get(ctx context.Context, s schema.RO, ref Ref, buf []byte) (int, error) + func (w *Machine) GetF(ctx context.Context, s schema.RO, ref Ref, fn func([]byte) error) error + func (w *Machine) Post(ctx context.Context, s schema.WO, data []byte) (Ref, error) + type Ref struct + CID blobcache.CID + DEK DEK + func (r *Ref) Unmarshal(data []byte) error + func (r Ref) IsZero() bool + func (r Ref) Marshal(out []byte) []byte