Cryptographically secure random key generation and unique identifier utilities.
Add this dependency to your build.gradle:
dependencies {
implementation 'io.seqera:lib-random:1.0.0'
}Secure random number generation with multiple encoding formats:
import io.seqera.random.LongRndKey
// Generate random keys
def longKey = LongRndKey.rndLong() // Returns Long
def stringKey = LongRndKey.rndLongAsString() // Returns 15-digit String
def hexKey = LongRndKey.rndHex() // Returns 12-digit hex String
./gradlew :lib-random:test