im going to provide the randomizer i use to generate the what i call “prompts” the prompts that the client got from the server and decrypted that they then encrypt and send back to the server
local SecureSentenceModule = {}
local words = {
"alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta", "theta", "iota", "kappa",
"lambda", "mu", "nu", "xi", "omicron", "pi", "rho", "sigma", "tau", "upsilon",
"phi", "chi", "psi", "omega", "zenith", "quasar", "neutron", "galaxy", "binary",
"quark", "vector", "matrix", "lambda", "omega", "quantum", "flux", "nucleus", "cosmos",
"void", "stellar", "nebula", "particle", "helium", "argon", "neon", "photon", "plasma",
"electron", "proton", "neutron", "fusion", "gravity", "blackhole", "singularity", "event",
"horizon", "celestial", "supernova", "darkmatter", "antimatter", "subatomic", "frequency",
"velocity", "entropy", "dimension", "parallel", "photon", "alphaWave", "gammaRay", "betaDecay",
"ion", "oscillation", "muon", "meson", "boson", "tachyon", "lepton", "gluon", "atom", "molecule",
"crystal", "spatial", "energy", "velocity", "momentum", "galactic", "vortex", "interstellar"
}
local function randomizeCapitalization(word)
local randomizedWord = ""
for i = 1, #word do
if math.random() > 0.5 then
randomizedWord = randomizedWord .. string.upper(word:sub(i, i))
else
randomizedWord = randomizedWord .. word:sub(i, i)
end
end
return randomizedWord
end
function SecureSentenceModule.generateSecureSentence()
local sentenceLength = math.random(12, 16)
local selectedWords = {}
local sentence = ""
for i = 1, sentenceLength do
local word
repeat
word = words[math.random(#words)]
until not selectedWords[word]
selectedWords[word] = true
if math.random() > 0.7 then
word = randomizeCapitalization(word)
end
if math.random() > 0.5 then
word = word .. tostring(math.random(0, 9))
end
if math.random() > 0.5 then
word = tostring(math.random(0, 9)) .. word
end
if math.random() > 0.5 then
word = word .. string.char(math.random(33, 47))
end
sentence = sentence .. word .. " "
end
return sentence:sub(1, -2)
end
return SecureSentenceModule
Note: I’m really sorry it took like this long and this many responses to explain to everybody how it worked its just really complicated explaining how this process is because of how many moving parts are involved in it