From 83126939c92901d4fa78f364457ef3ccdc61f07f Mon Sep 17 00:00:00 2001 From: phengemuhle <41277825+phengemuhle@users.noreply.github.com> Date: Fri, 4 Jan 2019 14:26:10 -0700 Subject: [PATCH] increased salt round from 8 to 10 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fd7517..8e5c18d 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ bcrypt.compareSync("not_bacon", hash); // false Auto-gen a salt and hash: ```javascript -var hash = bcrypt.hashSync('bacon', 8); +var hash = bcrypt.hashSync('bacon', 10); ``` Usage - Async @@ -115,7 +115,7 @@ bcrypt.compare("B4c0/\/", hash).then((res) => { Auto-gen a salt and hash: ```javascript -bcrypt.hash('bacon', 8, function(err, hash) { +bcrypt.hash('bacon', 10, function(err, hash) { }); ```