update README
This commit is contained in:
parent
ff4bf3525d
commit
d17ea51357
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ console.log(hash)
|
|||
console.log(IGA.verifyHash("test", hash))
|
||||
```
|
||||
## Functions
|
||||
- `hash(input: string, salt: number = 0, iterations: number = 32, len: number = 32, seed?: number): string` - creates a "hash" from the input
|
||||
- `verifyHash(input: string, inHash: string, salt: number = 0, iterations: number = 32, len: number = 32): verifyOut` - verifies the "hash", returns `{ valid: bool, reason: string }`
|
||||
- `hash(input: string, salt: number = 0, len: number = 32, seed?: number): string` - creates a "hash" from the input
|
||||
- `verifyHash(input: string, inHash: string, salt: number = 0, 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue