Import: base64
The base64 import enables a Sentinel policy to encode and decode Base64 values.
base64.encode(str)
Encodes the string str
into a Base64 encoded string, using the standard
encoding as defined in RFC 4648.
base64.decode(str)
Decodes the Base64 encoded string str
, returning the string result,
using the standard encoding as defined in RFC 4648.
base64.urlencode(str)
Encodes the string str
into a Base64 encoded string, using the alternate
encoding as defined in RFC 4648.
base64.urldecode(str)
Decodes the Base64 encoded string str
, returning the string result, using the
alternate encoding as defined in RFC 4648.