W72crm_web-master/node_modules/cryptiles
zhangwenzan c676fd5933 初始化crm前端代码 2025-05-27 11:25:53 +08:00
..
lib 初始化crm前端代码 2025-05-27 11:25:53 +08:00
test 初始化crm前端代码 2025-05-27 11:25:53 +08:00
.npmignore 初始化crm前端代码 2025-05-27 11:25:53 +08:00
.travis.yml 初始化crm前端代码 2025-05-27 11:25:53 +08:00
LICENSE 初始化crm前端代码 2025-05-27 11:25:53 +08:00
README.md 初始化crm前端代码 2025-05-27 11:25:53 +08:00
package.json 初始化crm前端代码 2025-05-27 11:25:53 +08:00

README.md

cryptiles

General purpose crypto utilities

Build Status

Lead Maintainer - C J Silverio

Methods

randomString(<Number> size)

Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.

fixedTimeComparison(<String> a, <String> b)

Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns true if the strings match, false if they differ.