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

crypto-es

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-es - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

CHANGELOG.md

13

lib/pbkdf2.js

@@ -5,3 +5,3 @@ import {

} from './core.js';
import { SHA1Algo } from './sha1.js';
import { SHA256Algo } from './sha256.js';
import { HMAC } from './hmac.js';

@@ -29,6 +29,9 @@

* Configuration options.
*
* The default `hasher` and `interations` is different from CryptoJs to enhance security:
* https://github.com/entronad/crypto-es/security/advisories/GHSA-mpj8-q39x-wq5h
*
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
* @property {Hasher} hasher The hasher to use. Default: SHA1
* @property {number} iterations The number of iterations to perform. Default: 1
* @property {Hasher} hasher The hasher to use. Default: SHA256
* @property {number} iterations The number of iterations to perform. Default: 250000
*/

@@ -39,4 +42,4 @@ this.cfg = Object.assign(

keySize: 128 / 32,
hasher: SHA1Algo,
iterations: 1,
hasher: SHA256Algo,
iterations: 250000,
},

@@ -43,0 +46,0 @@ cfg,

{
"name": "crypto-es",
"version": "2.0.4",
"version": "2.1.0",
"description": "A cryptography algorithms library compatible with ES6 and TypeScript",

@@ -5,0 +5,0 @@ "keywords": [

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