From d17ea513572cb41a5c9064d288dbce086d8ade27 Mon Sep 17 00:00:00 2001 From: afonya2 Date: Sat, 17 May 2025 17:44:17 +0200 Subject: [PATCH] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.