privex.helpers.crypto.base

Various small helper functions/classes often used by classes such as EncryptHelper and KeyManager

Functions

auto_b64decode(data[, urlsafe])

Determines if data is base64 encoded.

is_base64(sb[, urlsafe])

Returns True if sb appears to be a Base64 encoded string/bytes, otherwise False