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.2 to 1.1.3

2

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

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

@@ -5,2 +5,3 @@ import { T1, T2, T3, T4, S } from "./constants";

export default function aesencrypt(plaintext: ArrayBuffer, roundkey: number[][]): ArrayBuffer {
plaintext = plaintext.slice(0);
if (plaintext.byteLength != 16) {

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

@@ -81,2 +81,3 @@ const K = new Uint32Array([

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

@@ -83,0 +84,0 @@ const data = new Uint8Array(buf);

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