From 5ce3aa281786e9342c20c24facb699a778106d31 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 25 Dec 2018 20:19:57 +0100 Subject: [PATCH] increase PBKDF2 iterations further, as suggested in #350 --- js/privatebin.js | 2 +- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index 560d6e7..d489d8f 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -788,7 +788,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { const spec = [ getRandomBytes(16), // initialization vector getRandomBytes(8), // salt - 10000, // iterations + 100000, // iterations 256, // key size 128, // tag size 'aes', // algorithm diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 47f9f42..c3bde2e 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -71,7 +71,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index c7333fe..6a6f9e7 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -49,7 +49,7 @@ if ($MARKDOWN): endif; ?> - +