diff --git a/algorithms/lumma_fnv1a.py b/algorithms/lumma_fnv1a.py new file mode 100644 index 0000000..c17e08b --- /dev/null +++ b/algorithms/lumma_fnv1a.py @@ -0,0 +1,10 @@ +DESCRIPTION = "FNV1a hash with LummaStealer offset, seen in 0cf55c7e1a19a0631b0248fb0e699bbec1d321240208f2862e37f6c9e75894e7" +TYPE = 'unsigned_int' +TEST_1 = 2983287169 + +def hash(data): + val = 0x268c190a + for c in data: + val = ((val ^ c) * 0x1000193) & 0xffffffff + + return val