slug

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Derive added in v0.1.4

func Derive(ekFingerprint string) (string, error)

Derive computes a deterministic 20-char slug from an EK fingerprint. ekFingerprint is hex(sha256(ekCertDER)) — a 64-char hex string.

func IsValid

func IsValid(s string) bool

IsValid reports whether s is a well-formed slug.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL