Socket
Socket
Sign inDemoInstall

crypto-browserify

Package Overview
Dependencies
0
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0 to 0.0.1

1

index.js

@@ -29,2 +29,3 @@ var sha = require('./sha')

s += data
return this
},

@@ -31,0 +32,0 @@ digest: function (enc) {

2

package.json

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

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

@@ -8,0 +8,0 @@ "repository": {

@@ -15,6 +15,4 @@ var crypto = require('crypto')

assertSame(function (crypto, cb) {
var h = crypto.createHash('sha1')
h.update('hello', 'utf-8')
cb(null, h.digest('hex'))
cb(null, crypto.createHash('sha1').update('hello', 'utf-8').digest('hex'))
})
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc