]> source.dussan.org Git - nextcloud-server.git/commit
Use random_bytes 20925/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 11 May 2020 08:31:46 +0000 (10:31 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 11 May 2020 12:27:06 +0000 (12:27 +0000)
commit8fabe7171066f6a0b23d7e409c1d051901578e6e
tree8d5a5c1fc05bee551283b57bbd63a0730c5fdcff
parent930e96d0b2c88bb92f9186352bdfb27609336268
Use random_bytes

Since we don't care if it is human readbale.
The code is backwards compatible with the old format.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Security/Crypto.php
tests/lib/Security/CryptoTest.php