ELinks 0.16.1.1
|
Base64 encode/decode implementation. More...
#include <string.h>
#include "elinks.h"
#include "util/base64.h"
#include "util/error.h"
#include "util/memory.h"
Functions | |
char * | base64_encode (char *in) |
char * | base64_encode_bin (char *in, int inlen, int *outlen) |
char * | base64_decode (const char *in) |
char * | base64_decode_bin (const char *in, int inlen, int *outlen) |
Decode a Base64 string. |
Variables | |
static unsigned char | base64_chars [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
Base64 encode/decode implementation.
char * base64_decode | ( | const char * | in | ) |
char * base64_decode_bin | ( | const char * | in, |
int | inlen, | ||
int * | outlen ) |
Decode a Base64 string.
in | Input Base64 string | |
inlen | Length of in, in bytes | |
[out] | outlen | Length of decoded string |
char * base64_encode | ( | char * | in | ) |
char * base64_encode_bin | ( | char * | in, |
int | inlen, | ||
int * | outlen ) |
|
static |