Merge pull request #147 from fsb4000/patch-2
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 8 Feb 2015 03:33:08 +0000 (06:33 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 8 Feb 2015 03:33:08 +0000 (06:33 +0300)
sha512 шифрование имеет индекс 0, а не 1

src/crypter.h

index bddcdfd..733d9a3 100644 (file)
@@ -53,7 +53,7 @@ public:
         // 25000 rounds is just under 0.1 seconds on a 1.86 GHz Pentium M
         // ie slightly lower than the lowest hardware we need bother supporting
         nDeriveIterations = 25000;
-        nDerivationMethod = 1;
+        nDerivationMethod = 0;
         vchOtherDerivationParameters = std::vector<unsigned char>(0);
     }
 };