allowUnsecureRandom property

bool allowUnsecureRandom
final

True if unsecure random number generation is allowed. If set to false, an error will be thrown if the platform does not support secure random number generation. Default is true but will be changed to false in Serverpod 2.0.

Implementation

final bool allowUnsecureRandom;