We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d1ae95 + 97fab46 commit a01642bCopy full SHA for a01642b
1 file changed
algorithms/custom_shift_add.py
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env python
2
+
3
+DESCRIPTION = "shift+add with a custom initial value seen in a malware."
4
+TYPE = "unsigned_int"
5
+TEST_1 = 4294890437
6
7
8
+def hash(data):
9
+ result = 0x733e14f
10
+ for val in data:
11
+ result = (result << 1) + val
12
+ result &= 0xffffffff
13
+ return result
0 commit comments