Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

febs

Package Overview
Dependencies
Maintainers
1
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

10

browser/dist/febs/README.md

@@ -287,2 +287,12 @@ febs 库是一些常用的工具的合集;

febs.crypt.base64_encode(arrByte)
/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
```

@@ -289,0 +299,0 @@

@@ -10,2 +10,4 @@ /**

var crypt = require('../../common/crypt');
var sha1 = require('sha1');
var md5 = require('md5');

@@ -71,2 +73,6 @@ /**

// exports.sha1 = sha1;
// exports.md5 = md5;
/**

@@ -73,0 +79,0 @@ * @desc: base64编码.

@@ -287,2 +287,12 @@ febs 库是一些常用的工具的合集;

febs.crypt.base64_encode(arrByte)
/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
```

@@ -289,0 +299,0 @@

@@ -202,3 +202,14 @@ // Type definitions for febs

function crc32_file(fileObj: object, cb: (crc32: number) => void): void;
/**
* @desc: 计算字符串的md5值
* @return: string.
*/
function md5(str: string|Buffer): string;
/**
* @desc: 计算字符串的sha1值
* @return: string.
*/
function sha1(str: string|Buffer): string;
/**
* @desc: base64编码.

@@ -205,0 +216,0 @@ * @param arrByte: 字节数组.

2

package.json

@@ -85,3 +85,3 @@ {

"name": "febs",
"version": "0.7.1"
"version": "0.7.2"
}

@@ -281,7 +281,2 @@ febs 库是一些常用的工具的合集;

/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 直接对文件进行计算.

@@ -293,7 +288,2 @@ * @param filename: 文件路径

/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
/**
* @desc: 直接对文件进行计算.

@@ -356,2 +346,12 @@ * @param filename: 文件路径

/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
/**
* @desc: base64编码.

@@ -358,0 +358,0 @@ * @param arrByte: 字节数组.

@@ -247,3 +247,3 @@ // Type definitions for febs

/**
* @desc: [only in server] 计算字符串的md5值
* @desc: 计算字符串的md5值
* @return: string.

@@ -259,3 +259,3 @@ */

/**
* @desc: [only in server] 计算字符串的sha1值
* @desc: 计算字符串的sha1值
* @return: string.

@@ -262,0 +262,0 @@ */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc