mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-15 15:00:58 -04:00
Support custom backends in Random.
Useful for tests.
This commit is contained in:
parent
e087baeb48
commit
9c788a6e84
7 changed files with 70 additions and 24 deletions
|
@ -37,7 +37,7 @@ Uuid::Uuid(const QByteArray& data)
|
|||
|
||||
Uuid Uuid::random()
|
||||
{
|
||||
return Uuid(Random::randomArray(Length));
|
||||
return Uuid(randomGen()->randomArray(Length));
|
||||
}
|
||||
|
||||
QString Uuid::toBase64() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue