mirror of
https://github.com/OALabs/hashdb
synced 2026-06-08 12:05:11 +00:00
Merge pull request #68 from Golo-M/tonepipeshell_new
Added new algorithm for tonepipeshell
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
DESCRIPTION = "TOnePipeShell hash with seed 0x14096B (1313131)"
|
||||
TYPE = 'unsigned_int'
|
||||
TEST_1 = 734769215
|
||||
|
||||
def hash(data):
|
||||
out_hash = 0
|
||||
for c in data:
|
||||
out_hash = (c + 0x14096B * out_hash) & 0xffffffff
|
||||
return out_hash
|
||||
Reference in New Issue
Block a user