add base32 and base16 codec api.