Removed misleading crypto gen comment

remotes/origin/stable5
Sam Tuke 12 years ago
parent 3e83023bf6
commit 2e30641caa
  1. 2
      apps/files_encryption/lib/crypt.php

@ -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…
Cancel
Save