cf-wrapper
Version:
The definitive CF wrapper to be able to perform anything that can be done through the UI.
17 lines (14 loc) • 391 B
JavaScript
const randomString = (length) => {
const chars = "0123456789abcdefghijklmnopqrstuvwxyz";
let result = "";
for (let i = length; i > 0; --i)
result += chars[Math.floor(Math.random() * chars.length)];
return result;
};
export const genFtaa = () => {
const ftaa = randomString(18);
return ftaa;
};
export const genBfaa = () => {
return "f1b3f18c715565b589b7823cda7448ce";
};