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

crypto-browserify

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-browserify - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

4

index.js

@@ -31,5 +31,5 @@ 'use strict';

}
var hashes = ['sha1', 'sha256', 'sha512', 'md5', 'rmd160'].concat(Object.keys(require('browserify-sign/algos')))
exports.getHashes = function () {
return ['sha1', 'sha224', 'sha256', 'sha384', 'sha512', 'md5', 'rmd160']
return hashes;
}

@@ -36,0 +36,0 @@

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

"description": "partial implementation of crypto for the browser",
"version": "3.5.0",
"version": "3.5.1",
"homepage": "https://github.com/dominictarr/crypto-browserify",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"browserify-aes": "0.4.0",
"browserify-aes": "0.6.0",
"browserify-sign": "2.4.0",

@@ -23,0 +23,0 @@ "pbkdf2-compat": "2.0.1",

@@ -14,2 +14,5 @@ var test = require('tape');

out.push(decrypter.update(crypter.final()));
if (cipher.indexOf('gcm') > -1) {
decrypter.setAuthTag(crypter.getAuthTag());
}
out.push(decrypter.final());

@@ -16,0 +19,0 @@ t.equals(data.toString('hex'), Buffer.concat(out).toString('hex'));

var fs = require('fs')
var test = require('tape')
var algorithms = require('../').getHashes()
var algorithms = ['sha1', 'sha256', 'sha512', 'md5', 'rmd160']
var encodings = [/*'binary',*/ 'hex', 'base64'];

@@ -6,0 +6,0 @@ var vectors = require('hash-test-vectors')

var test = require('tape')
var algorithms = require('../').getHashes()
var algorithms = ['sha1', 'sha256', 'sha512', 'md5', 'rmd160']
var vectors = require('hash-test-vectors/hmac')

@@ -6,0 +6,0 @@ var createHmac = require('../create-hmac')

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