aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/password-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/password-helpers.ts')
-rw-r--r--src/helpers/password-helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/password-helpers.ts b/src/helpers/password-helpers.ts
index d5f2d0c49..75ef5606a 100644
--- a/src/helpers/password-helpers.ts
+++ b/src/helpers/password-helpers.ts
@@ -1,4 +1,4 @@
1import { createHash, BinaryLike } from 'crypto'; 1import { createHash, BinaryLike } from 'node:crypto';
2 2
3export function hash(password: BinaryLike): string { 3export function hash(password: BinaryLike): string {
4 return createHash('sha256').update(password).digest('base64'); 4 return createHash('sha256').update(password).digest('base64');