Now randomized string returns in base64

This commit is contained in:
Volodymyr Kozieiev 2018-01-12 11:09:50 +02:00
parent c9d9cfe5b7
commit f7cee75dcb
No known key found for this signature in database
GPG Key ID: 1F706640AAF07516
1 changed files with 1 additions and 1 deletions

View File

@ -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) {