diff --git a/include/crypto.h b/include/crypto.h index ee61dd0..7ba5e8a 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -24,11 +24,11 @@ extern "C" { #endif //MACROS -#define WHY2_CHECKSUM_SEGMENT_SIZE 4 //SEGMENT SIZE FOR CALCULATING CHECKSUM +#define WHY2_CHECKSUM_SEGMENT_SIZE 32 //SEGMENT SIZE FOR CALCULATING SUM #define WHY2_CHECKSUM_PRIME 11 //PRIME NUMBER FOR ROTATION //FUNCTIONS -unsigned long why2_sum_segment(char *input); //TOO LONG TO EXPLAIN, DEAL WITH IT. TREAT IT LIKE A NORMAL CHECKSUM +unsigned long why2_sum_segment(char *input); //CALCULATE SUM++ FOR input; USED FOR PADDING SEED #ifdef __cplusplus }