Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
base32.h File Reference

Go to the source code of this file.

Functions

void base32 (const size_t len, const u8 *in, u8 *out)
 generate the base32 textual representation of a buffer. More...
 

Function Documentation

void base32 ( const size_t  len,
const u8 in,
u8 out 
)

generate the base32 textual representation of a buffer.

Parameters
lenSize [bytes] of input
inBig-endian input data (assumed to be integral number of bytes)
outOutput string; zero-terminated. must be big enough (i.e. at least ceil(len*CHAR_BIT/5) + 1 chars)

Definition at line 31 of file base32.cpp.