From 6860653f1ec81b0767f3dfe2fc0078cce0bac1ce Mon Sep 17 00:00:00 2001 From: Eugene Obrezkov Date: Fri, 10 Jul 2015 18:39:53 +0300 Subject: [PATCH] Update docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 92f2b06..c8f04e3 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,10 @@ module.exports = { Each of Hash instances has 4 methods: -- hash(data) - Hash your data and returns Promise -- hashSync(data) - Hash your data and returns hash -- compare(plainData, hash) - Compare plainData with hash and returns Promise -- compareSync(plainData, hash) - Compare plainData with hash and returns Boolean +- hash(data, config) - Hash your data and returns Promise. In config you can override pre-defined config. +- hashSync(data, config) - Hash your data and returns hash. In config you can override pre-defined config. +- compare(plainData, hash) - Compare plainData with hash and returns Promise. +- compareSync(plainData, hash) - Compare plainData with hash and returns Boolean. ## Examples