std.crypto: add constant-time codecs (#23420)

std.crypto: add constant-time codecs

Add constant-time hex/base64 codecs designed to process cryptographic
secrets, adapted from libsodium's implementations.

Introduce a `crypto.codecs` namespace for crypto-related encoders and
decoders. Move ASN.1 codecs to this namespace.

This will also naturally accommodate the proposed PEM codecs.
a7122b7323Frank Denis committed on 4/12/2025, 6:13:45 PM· committed by GitHubparent9352f37
22 files changedLine totals unavailable