diff --git a/README.md b/README.md index 01526cb..a1f4c7d 100644 --- a/README.md +++ b/README.md @@ -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.