Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 270 Bytes

File metadata and controls

2 lines (2 loc) · 270 Bytes

EntropyCalc

Write a standalone C function that accepts a 4096-byte unsigned char buffer, calculates the 'Integer Chi-Square' score without using any floating-point math, and returns 1 if the data is high-entropy (potential ransomware) or 0 if it is structured (safe).