fix: Use the cryptographically secure random number generator

This commit is contained in:
Inex Code 2024-08-23 11:46:48 +03:00
parent 7ab158ef14
commit 0fb898873c

View file

@ -1,6 +1,6 @@
import 'dart:math';
Random _rnd = Random();
Random _rnd = Random.secure();
typedef StringGeneratorFunction = String Function();