Content-Length: 271241 | pFad | http://github.com/esl/base16/tree/ec420aa4ce0fb971f155274c606e00188a2ed37d

6B GitHub - esl/base16 at ec420aa4ce0fb971f155274c606e00188a2ed37d
Skip to content

esl/base16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base16 encoding and decoding

API

Both encode/1 and decode/1 functions are of (binary()) -> binary() type.

The usage looks like:

B = crypto:rand_bytes(10).
H = base16:encode(B).
B = base16:decode(H).

Please, note:

  • base16:encode/1 uses upper-case latters.
  • base16:decode/1 requires the argument to be a binary of odd-number size.

License

The library itself is licensed under the Simplified (2-clause) BSD license.

The tests, due to dependency on PropEr, are licensed under the GPLv3 license.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/esl/base16/tree/ec420aa4ce0fb971f155274c606e00188a2ed37d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy