Skip to main content

Module key

Module key 

Source
Expand description

Key string normalization.

During the base64 → hex migration period (until oboron 1.0), keys may arrive as either 128-character hex (canonical) or 86-character base64 (legacy, deprecated). normalize_key_classify reports which form was used so callers can warn / migrate; the simpler normalize_key_to_hex just returns the canonical hex.

Enums§

KeyFormat
Format the key arrived in.

Functions§

normalize_key_classify
Convert a key string to canonical 128-character hex, accepting either form, and report which form was actually given.
normalize_key_to_hex
Like normalize_key_classify but discards the format tag.