feat(fips): requested changes

This commit is contained in:
Daniel Hougaard
2025-07-15 15:39:21 +04:00
parent 2c89f8b672
commit 37014bf3f9
36 changed files with 115 additions and 114 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ export class Redlock extends EventEmitter {
* Generate a sha1 hash compatible with redis evalsha.
*/
private _hash(value: string): string {
return crypto.rawCrypto.createHash("sha1").update(value).digest("hex");
return crypto.nativeCrypto.createHash("sha1").update(value).digest("hex");
}
/**