diff --git a/algorithms/tonepipeshell_feb_2025.py b/algorithms/tonepipeshell_feb_2025.py new file mode 100644 index 0000000..8f70af9 --- /dev/null +++ b/algorithms/tonepipeshell_feb_2025.py @@ -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 \ No newline at end of file