## Hex (Node.js) ```js import crypto from 'node:crypto'; crypto.randomBytes(30).toString('hex'); // Result: '15ae62c35314d260b6b685a77f3487c9960a92e8a414baafcc1ba4bb8b78' ``` ## Hex (browser) ```js Math.random().toString(36).substring(2, 15); // Result: nc7nrtya9xc ```