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

@eyhn/crypto

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eyhn/crypto - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

1

lib/aes/aesencrypt.js

@@ -6,2 +6,3 @@ "use strict";

function aesencrypt(plaintext, roundkey) {
plaintext = plaintext.slice(0);
if (plaintext.byteLength != 16) {

@@ -8,0 +9,0 @@ throw new Error('invalid plaintext size (must be 16 bytes)');

@@ -7,2 +7,3 @@ "use strict";

function aesctrencrypt(key, plaintext, begin) {
plaintext = plaintext.slice(0);
const roundkey = roundkey_1.aesEncryptionRoundKey(key);

@@ -9,0 +10,0 @@ const encrypted = new Uint8Array(plaintext);

@@ -70,2 +70,3 @@ "use strict";

function sha256(buf) {
buf = buf.slice(0);
const state = new Int32Array(8);

@@ -72,0 +73,0 @@ const data = new Uint8Array(buf);

2

package.json
{
"name": "@eyhn/crypto",
"version": "1.1.4",
"version": "1.1.5",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

@@ -0,0 +0,0 @@ import crypto = require('../lib/');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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