do collision tests
This commit is contained in:
parent
92b96c8204
commit
8e832eb380
4 changed files with 173 additions and 2 deletions
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue