randydev commited on
Commit
863f5b5
·
verified ·
1 Parent(s): 1cc4cce

Update config.js

Browse files
Files changed (1) hide show
  1. config.js +4 -0
config.js CHANGED
@@ -11,6 +11,10 @@ const TiktokUrl = process.env.TIKTOK_URL;
11
  const trbtoken = process.env.TRBTOKEN;
12
  const trburl = process.env.TRBURL;
13
 
 
 
 
 
14
  if (!dbUri && !HUGGING_TOKEN && !GoogleAPIKey) {
15
  throw new Error("Missing variables required");
16
  }
 
11
  const trbtoken = process.env.TRBTOKEN;
12
  const trburl = process.env.TRBURL;
13
 
14
+ import { randomBytes } from 'crypto';
15
+ console.log("Key:", randomBytes(32).toString('hex'));
16
+ console.log("IV:", randomBytes(16).toString('hex'));
17
+
18
  if (!dbUri && !HUGGING_TOKEN && !GoogleAPIKey) {
19
  throw new Error("Missing variables required");
20
  }