Skip to content

Commit 5d04eb5

Browse files
committed
Use Uint8Array instead of Buffer
1 parent e36d106 commit 5d04eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cipher-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CipherService {
3636
]).toString();
3737
}
3838

39-
private hash(value: string): Buffer {
39+
private hash(value: string): Uint8Array {
4040
return createHash('sha256').update(value).digest();
4141
}
4242
}

0 commit comments

Comments
 (0)