Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Key
local shahex = {0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F","G","H","I","J","K","L","M","O","P","Q","R","S","T","U", "V", "W", "X", "Y", "Z", "-","+","^","[","]","%"} function keyGen (m) str = "Key Lenght "..tostring(m).." --> \n\n\n" while string.len(str) < m do local r = math.random(1,#shahex) str = str..tostring(shahex[r]) end return str end print(keyGen(2048*(64+16)))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Simple Lua primality test
The Pyramid in the two-dimensional array made of random stones - Lua
Monty Hall Problem Simulated
Replace all substring in string
gdgdf
123
Truly random numbers with ranges (Lua)
Truly random numbers (Lua)
PAID HACK PuBG
Exponential from Two Points
Please log in to post a comment.