diff options
author | Sam Tuke <samtuke@owncloud.com> | 2013-01-10 18:19:37 +0000 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2013-01-10 18:19:37 +0000 |
commit | 2e30641caa50fe66ee29a9eaeb10a19432fd007c (patch) | |
tree | a34050e06f89037f9fb78f8c815d5ee5434dd01e /apps/files_encryption | |
parent | 3e83023bf69ece20f6248f17acb81abfdee514c2 (diff) | |
download | nextcloud-server-2e30641caa50fe66ee29a9eaeb10a19432fd007c.tar.gz nextcloud-server-2e30641caa50fe66ee29a9eaeb10a19432fd007c.zip |
Removed misleading crypto gen comment
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-x | apps/files_encryption/lib/crypt.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php index 96176210bf1..fddc89dae54 100755 --- a/apps/files_encryption/lib/crypt.php +++ b/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 ) ) ) {
|