UNPKG

webssh2-server

Version:

A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2

5 lines (4 loc) 128 B
import crypto from 'node:crypto'; export function generateSecureSecret() { return crypto.randomBytes(32).toString('hex'); }