Skip to content

A base32 implementation in Erlang

License

Notifications You must be signed in to change notification settings

helium/base32_erlang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#base32

License: Apache 2

1> X = <<"foobar">>.
<<"foobar">>
2> X0 = base32:encode(X).
<<"MZXW6YTBOI======">>
3> X = base32:decode(X0).
<<"foobar">>
4> X1 = base32:encode(X, [hex]).
<<"CPNMUOJ1E8======">>
5> X = base32:decode(X1, [hex]).
<<"foobar">>
6> base32:encode(X, [lower]).
<<"mzxw6ytboi======">>
7> base32:encode(X, [nopad]).
<<"MZXW6YTBOI">>
8> base32:encode(X, [hex, lower, nopad]).
<<"cpnmuoj1e8">>

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%