getSecureRandom method
SecureRandom
getSecureRandom()
PointyCastle random number generator interface.
Implementation
SecureRandom getSecureRandom() {
if (secureRandom != null) return secureRandom;
return (secureRandom = FortunaRandom())
..seed(KeyParameter(randBytes(random, 32)));
}