#ifndef __CRYPTO_LIB__ #define __CRYPTO_LIB__ #include #include #include #include void xor_string(char *str1, char *key, char *result, int length_key, int length_str1); void hex_binary_to_string(char *str1, char *result, int length); int decode_hex_string(char *encode, char* result); int encode_to_base64(char *encode, char *result); void decode_base64(char *string1, char *result); int print_base64_string(char *string); int hamming_distance_equal_length(char *string1, char *string2); int brute_force_single_byte_xor(char *string, int length, char *keys); #endif /* __CYRPTO_LIB__ */