]> source.dussan.org Git - nextcloud-server.git/commitdiff
Removed misleading crypto gen comment
authorSam Tuke <samtuke@owncloud.com>
Thu, 10 Jan 2013 18:19:37 +0000 (18:19 +0000)
committerSam Tuke <samtuke@owncloud.com>
Thu, 10 Jan 2013 18:19:37 +0000 (18:19 +0000)
apps/files_encryption/lib/crypt.php

index 96176210bf126abdd672fb982e7aaa0ca53f7333..fddc89dae54b83da0f9f6c5d4b0ee8c5cc250dc0 100755 (executable)
@@ -601,8 +601,6 @@ class Crypt {
          */\r
        public static function generateKey() {\r
                \r
-               // $key = mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 ) . mt_rand( 10000, 99999 );\r
-               \r
                // Generate key\r
                if ( $key = base64_encode( openssl_random_pseudo_bytes( 183, $strong ) ) ) {\r
                \r