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.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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}`);
|
||||
Reference in New Issue
Block a user