From 54a8feb5caa628a753a1f94013f082f21b28b11a Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 11 Mar 2024 16:50:44 +0800 Subject: [PATCH] update --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 2365453..9b2c81f 100644 --- a/Readme.md +++ b/Readme.md @@ -252,7 +252,7 @@ crypto.hmac('md5', '123456', 'sdfvkjfhd') #### cipher(mode, data[, key, inEncode, outEncode]) - mode `` - data `` | `` -- key `` 可选, 默认为 ``, 即 `crypto.scryptSync('', '', 16)` 的结果 +- key `` 可选, 默认为 ``, 即 `Buffer.alloc(16)` 的结果 - inEncode '' 可选 - outEncode '' 可选,默认返回Buffer对象