![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Functions | |
N_STR * | n_base64_decode (N_STR *bufcoded) |
decode a N_STR *string | |
N_STR * | n_base64_encode (N_STR *string) |
encode a N_STR *string | |
bool | n_isalpha (char c) |
is_alpha | |
bool | n_islower (char c) |
test if char c is lowercase | |
bool | n_isupper (char c) |
test if char c is uppercase | |
char | n_tolower (char c) |
is_alpha | |
char | n_toupper (char c) |
is_alpha | |
decode a N_STR *string
bufcoded | the N_STR *string to decode |
Definition at line 168 of file n_base64.c.
References __n_assert, N_STR::data, N_STR::length, LOG_ERR, n_log, new_nstr(), pr2six, and N_STR::written.
Referenced by n_vigenere_decode_file(), n_vigenere_decode_qa(), and n_vigenere_quick_decode().
encode a N_STR *string
input | the N_STR *string to encode |
Definition at line 250 of file n_base64.c.
References __n_assert, basis_64, N_STR::data, free_nstr, LOG_ERR, n_base64_encode_len(), n_log, new_nstr(), and N_STR::written.
Referenced by n_vigenere_encode_file(), n_vigenere_encode_qa(), n_vigenere_get_question(), and n_vigenere_quick_encode().
bool n_isalpha | ( | char | c | ) |
is_alpha
c | charater to look up |
Definition at line 103 of file n_base64.c.
References ascii_lower_case_lookup_table, and ascii_upper_case_lookup_table.
bool n_islower | ( | char | c | ) |
test if char c is lowercase
c | charater to look up |
Definition at line 94 of file n_base64.c.
References ascii_lower_case_lookup_table.
Referenced by n_vigenere_cypher_thread().
bool n_isupper | ( | char | c | ) |
test if char c is uppercase
c | charater to look up |
Definition at line 85 of file n_base64.c.
References ascii_upper_case_lookup_table.
Referenced by n_vigenere_cypher_thread().
char n_tolower | ( | char | c | ) |
is_alpha
c | charater to look up |
Definition at line 123 of file n_base64.c.
References ascii_upper_case_lookup_table.
Referenced by n_vigenere_cypher_thread().
char n_toupper | ( | char | c | ) |
is_alpha
c | charater to look up |
Definition at line 112 of file n_base64.c.
References ascii_lower_case_lookup_table.
Referenced by n_vigenere_cypher_thread().