Skip to main content

Module base64

Module base64 

Source
Expand description

base64 decoder/encoder using safe alphabet according to: https://datatracker.ietf.org/doc/html/rfc4648#section-4 https://datatracker.ietf.org/doc/html/rfc4648#section-5

Encoding omits padding, as required for ENR text form by EIP-778 Decoding does not require the data to be padded, that is it makes no difference if padding is present or not

Functionsยง

decode
encode