]> source.dussan.org Git - nextcloud-server.git/commit
Use random_bytes 20915/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 11 May 2020 08:31:46 +0000 (10:31 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 11 May 2020 10:46:59 +0000 (12:46 +0200)
commit35ff4aa1c6693a7aafab4860e8d0c4b0fc077b74
treefc885ac3c7872e49d15f4d330e96500d4e804c0c
parent90e6b3105948c697fbd1956b79c8bd3775ef0c9f
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