Versions in this module Expand all Collapse all v0 v0.3.0 Aug 15, 2026 Changes in this version + const KCVLength + const KeyLength128 + const KeyLength192 + const KeyLength64 + var ErrInvalidComponentCount = errors.New("invalid component count") + var ErrInvalidHexString = errors.New("invalid hex string") + var ErrInvalidKeyFormat = errors.New("invalid key format") + var ErrInvalidKeyLength = errors.New("invalid key length") + func CalculateKCV(keyBytes []byte) []byte + func CombineComponents(components []string) (string, error) + func GenerateKey(lengthBits int, enforceOddParity bool) (string, string, error) + func SplitKey(keyHex string, numComponents int) ([]string, string, error) + func ValidateComponentConsistency(original string, components []string) bool + func ValidateKeyParity(key []byte) bool