diff --git a/server.node.ts b/server.node.ts index b3d494c..1bac80f 100644 --- a/server.node.ts +++ b/server.node.ts @@ -12,9 +12,7 @@ import { MessageType, } from "./lib/ServerMessage"; -const SALT = crypto - .randomBytes(Math.round(Math.random() * 1024)) - .toString("hex"); +const SALT = crypto.randomBytes(2048).toString("hex"); const port = 8085; const timeout = 15000;