mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-19 07:09:14 +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