mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-10 19:03:12 +00:00
fix: Use the cryptographically secure random number generator
This commit is contained in:
parent
7ab158ef14
commit
0fb898873c
|
@ -1,6 +1,6 @@
|
|||
import 'dart:math';
|
||||
|
||||
Random _rnd = Random();
|
||||
Random _rnd = Random.secure();
|
||||
|
||||
typedef StringGeneratorFunction = String Function();
|
||||
|
||||
|
|
Loading…
Reference in a new issue