Groovy web console

subscribe to the feed Subscribe
to this
site

Random 4 digit OTP

Published 5 months ago by Mak with tags otp random
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Random rand=new Random()
String randomOTP=rand.nextInt(8999)+1000
println randomOTP