style: remove function names from implicit util functions
This commit is contained in:
parent
f2fcdbf733
commit
0c4d42f3c1
5 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
export async function hashPassword(password: string) {
|
||||
export default async (password: string) => {
|
||||
const encodedPass = new TextEncoder().encode(password);
|
||||
const hashBuffer = await crypto.subtle.digest("SHA-384", encodedPass);
|
||||
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue