do collision tests

This commit is contained in:
afonya2 2025-05-16 18:35:35 +02:00
parent 92b96c8204
commit 8e832eb380
Signed by: afonya
GPG key ID: EBB9C4CAFAAFB2DC
4 changed files with 173 additions and 2 deletions

View file

@ -13,4 +13,5 @@ console.log(IGA.verifyHash("test", hash))
- `verifyHash(input: string, inHash: string, salt: number = 0, iterations: number = 32, len: number = 32): verifyOut` - verifies the "hash", returns `{ valid: bool, reason: string }`
## DO NOT USE FOR SECURE PROJECTS
- It's security has not been verified yet.
- It can't be reverted but it might collide.
- It can't be reverted but it might collide.
- It seems like the algorithm is safe enough, however, I still don't recommend it.