Now randomized string returns in base64
This commit is contained in:
parent
c9d9cfe5b7
commit
f7cee75dcb
|
@ -54,7 +54,7 @@ QString RNRandomBytesPrivate::generateRandomBytes(int size) {
|
|||
while (randomString.size() < size) {
|
||||
randomString.append(QChar(qrand()));
|
||||
}
|
||||
return randomString;
|
||||
return randomString.toUtf8().toBase64();
|
||||
}
|
||||
|
||||
void RNRandomBytes::randomBytes(int length, double funcId) {
|
||||
|
|
Loading…
Reference in New Issue