hex package:base32

This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded and decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortText-valued combinators implementing the RFC 4648 specification for the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, and external + internal validations for canonicity.
Tell whether a ByteString value is encoded in padded or unpadded Base32hex format

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a ByteString value is a valid Base32hex format. This will not tell you whether or not this is a correct Base32hex representation, only that it conforms to the correct shape (including padding/size etc.). To check whether it is a true Base32hex encoded ByteString value, use isBase32.

Examples:

>>> isValidBase32Hex "ADQMS"
True
>>> isValidBase32Hex "ADQMS="
False
>>> isValidBase32Hex "ADQMS%"
False
Tell whether a ByteString is Base32hex-encoded.

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a ByteString is a valid Base32hex format. This will not tell you whether or not this is a correct Base32hex representation, only that it conforms to the correct shape. To check whether it is a true Base32hex encoded ByteString value, use isBase32Hex.

Examples:

>>> isValidBase32Hex "ADQMS"
True
>>> isValidBase32Hex "ADQMS="
False
>>> isValidBase32Hex "ADQMS%"
False
Tell whether a ShortByteString is Base32hex-encoded.

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a ShortByteString is a valid Base32hex format. This will not tell you whether or not this is a correct Base32hex representation, only that it conforms to the correct shape. To check whether it is a true Base32 encoded ShortByteString value, use isBase32Hex.

Examples:

>>> isValidBase32Hex "ADQMS"
True
>>> isValidBase32Hex "ADQMS="
False
>>> isValidBase32Hex "ADQMS%"
False
Tell whether a Text value is Base32hex-encoded.

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a Text value is a valid Base32hex format. This will not tell you whether or not this is a correct Base32hex representation, only that it conforms to the correct shape. To check whether it is a true Base32 encoded Text value, use isBase32Hex.

Examples:

>>> isValidBase32Hex "ADQMS"
True
>>> isValidBase32Hex "ADQMS="
False
>>> isValidBase32Hex "ADQMS%"
False
Tell whether a Text value is Base32hex-encoded

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a ShortText value is Base32hex-encoded.

Examples:

>>> isBase32Hex "ADQMS"
True
>>> isBase32Hex "ADQMS==="
True
>>> isBase32Hex "ADQMS=="
False
Tell whether a ShortText value is a valid Base32hex format. This will not tell you whether or not this is a correct Base32hex representation, only that it conforms to the correct shape. To check whether it is a true Base32 encoded ShortText value, use isBase32Hex.

Examples:

>>> isValidBase32Hex "ADQMS"
True
>>> isValidBase32Hex "ADQMS="
False
>>> isValidBase32Hex "ADQMS%"
False