To use it in the console, type Conversions.base32.encode("foobar").