
full text - Repost: Rate my hash function (from https://ift.tt/kcDIxAr, Rate my hash function)
Mining:
Exchanges:
Donations:
I've come up with this hash function that only uses arithmetics.Using Python, it would look like:str(format((n*(n*25))%(n/(n*25)), '.50f'))[25:] The forumula can be written as:(25 n^2) mod 1/25 and the rest is taking from the 23th digit to the lastHere are some outputs with n:1: 447542673908174037933349609 2: 609630035411100834608078003 3: 213108971249312162399291992 4: 257979481422808021306991577 5: 744241565931588411331176758 6: 671895224775653332471847534 7: 40940457955002784729003906 8: 851377265469636768102645874 9: 103205647319555282592773438 10: 796425603504758328199386597 1000000: 369112444983329623937606812 1000001: 664143516682088375091552734 1000002: 400566162716131657361984253 1000003: 578380383085459470748901367 1000004: 197586177790071815252304077 1000005: 258183546829968690872192383 10000000000000: 378792622650507837533950806 10000000000001: 378792622650507837533950806 10000000000002: 105639509391039609909057617 10000000000003: 105639509391039609909057617 10000000000004: 105639509391039609909057617 10000000000005: 105639509391039609909057617 10000000000006: 832486396131571382284164429 10000000000007: 832486396131571382284164429 10000000000008: 832486396131571382284164429 10000000000009: 832486396131571382284164429 10000000000010: 559333282872103154659271240 It still is "chaotic" with numbers around 1000000 or so, but it gets unchaotic going up.Any opinions on this?, is it pointless?, would you change something?, any way to improve it?
Social Media Icons