mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Removed misleading crypto gen comment
This commit is contained in:
parent
3e83023bf6
commit
2e30641caa
1 changed files with 0 additions and 2 deletions
|
|
@ -601,8 +601,6 @@ class Crypt {
|
|||
*/
|
||||
public static function generateKey() {
|
||||
|
||||
// $key = mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 );
|
||||
|
||||
// Generate key
|
||||
if ( $key = base64_encode( openssl_random_pseudo_bytes( 183, $strong ) ) ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue