Use scrypt for api keys (#33)
This commit is contained in:
6
apps/web/src/server/nanoid.ts
Normal file
6
apps/web/src/server/nanoid.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { customAlphabet } from "nanoid";
|
||||
|
||||
export const smallNanoid = customAlphabet(
|
||||
"1234567890abcdefghijklmnopqrstuvwxyz",
|
||||
10
|
||||
);
|
Reference in New Issue
Block a user