Implement base32 encoding

This implementation is not RFC4748 (due to conflict with the padding).

Here the base32 is: [0-9a-v] and the padding is 'z'.
Encode the key into base32 in example