chez-libs

(data base32)
Login

Base32 Encoding

Synopsis

(import (data base32))

Encoding and decoding of binary data in Base32 format.

Operations

procedure: (base32-encode bytevector)

procedure: (base32-encode bytevector padding?)

Encodes the given bytevector into a string. Without options, the result has no padding. If the padding option is given and true, the output may be terminated by "=" characters unless the input length is a multiple of eight.

procedure: (base32-encode string)

Decodes the given string into a bytevector. Ignores any number of padding characters at the end of the input.