ref: 6d069b39b5ff8118f7b719b8c9e33a03686b8811
dir: /libc/adler32.c/
long adler32(char *data) { const int prime = 65521; int i = 0; int a = 0, b = 1; while (i < strlen(data)) { b += data[i]; a += b; i++; } b = b % prime; a = a % prime; return(b << 16 | a); }