Files
tony 74deabd4b1 feat: add Cleanflix Connector Tauri desktop app
Move the Mac Tauri UI (pro.cleanflix.connector) into this repo under desktop/. Bundled Node runtime stays gitignored; package scripts fetch it when building.
2026-08-12 10:10:26 +00:00

8 lines
309 B
JavaScript

import crypto from 'node:crypto';
const password = process.argv[2];
if (!password) throw new Error('Usage: node hash-password.js <password>');
const salt = crypto.randomBytes(16).toString('base64url');
const hash = crypto.scryptSync(password, salt, 32).toString('base64url');
console.log(`${salt}:${hash}`);