New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pssh-tools

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pssh-tools - npm Package Compare versions

Comparing version 1.0.14-alpha1 to 1.0.14-alpha2

6

dist/src/lib/pssh/playready.js

@@ -54,3 +54,3 @@ "use strict";

kid: kidBuffer.toString('base64'),
key: keyBuffer.toString('base64'),
key: swapEndian(keyBuffer.toString('hex')).toString('base64'),
checksum

@@ -160,3 +160,3 @@ };

const keyBuffer = Buffer.from(keyData, 'base64');
return keyBuffer.toString('hex');
return swapEndian(keyBuffer.toString('hex')).toString('hex');
};

@@ -174,3 +174,3 @@ exports.encodeKey = (keyPair, keySeed = '') => {

kid: kidBuffer.toString('base64'),
key: keyBuffer.toString('base64'),
key: swapEndian(keyPair.key).toString('base64'),
checksum

@@ -177,0 +177,0 @@ };

{
"name": "pssh-tools",
"version": "1.0.14-alpha1",
"version": "1.0.14-alpha2",
"description": "Tools to generate PSSH Data and PSSH Box",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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