Module base64ct::bcrypt[][src]

bcrypt Base64 encoding.

./         [A-Z]      [a-z]     [0-9]
0x2e-0x2f, 0x41-0x5a, 0x61-0x7a, 0x30-0x39

Functions

decode

Decode a bcrypt Base64 string into the provided destination buffer.

decode_in_place

Decode a bcrypt Base64 string in-place.

decode_vecalloc

Decode a bcrypt Base64 string into a byte vector.

encode

Encode the input byte slice as bcrypt Base64 with padding.

encode_stringalloc

Encode input byte slice into a String containing bcrypt Base64 without padding.

encoded_len

Get the length of Base64 produced by encoding the given bytes.