use base64

b64.encode ( ss )

Encode the string using base64.

b64.decode ( ss )

Decode the string using base64. Incorrect padding (=) throws an error.

b16.encode ( ss )

Encode the string using base16 (i.e. hexadecimal).

b16.decode ( ss )

Decode the string using base16 (i.e. hexadecimal).


back to index

docs@04547c7