def hex_digit_kind
import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCMimport Base
174# Canonical lowercase hexadecimal envelope serialization.
175def hex_digit_kind(+n: U32, decimal: Bool) -> Char:
176 match decimal:
177 case True{}: Chr{U32.add(48, n)}
178 case False{}: Chr{U32.add(87, n)}