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

@koush/jsencrypt

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koush/jsencrypt - npm Package Compare versions

Comparing version 3.0.0-rc.3 to 3.0.0-rc.4

8

declarations/lib/jsbn/jsbn.d.ts

@@ -12,3 +12,3 @@ import { SecureRandom } from "./rng";

protected clone(): BigInteger;
protected intValue(): number;
intValue(): number;
protected byteValue(): number;

@@ -26,4 +26,4 @@ protected shortValue(): number;

protected not(): BigInteger;
protected shiftLeft(n: number): BigInteger;
protected shiftRight(n: number): BigInteger;
shiftLeft(n: number): BigInteger;
shiftRight(n: number): BigInteger;
protected getLowestSetBit(): number;

@@ -43,3 +43,3 @@ protected bitCount(): number;

modInverse(m: BigInteger): BigInteger;
protected pow(e: number): BigInteger;
pow(e: number): BigInteger;
gcd(a: BigInteger): BigInteger;

@@ -46,0 +46,0 @@ isProbablePrime(t: number): boolean;

@@ -175,3 +175,3 @@ // Copyright (c) 2005 Tom Wu

// (public) return value as integer
protected intValue() {
public intValue() {
if (this.s < 0) {

@@ -324,3 +324,3 @@ if (this.t == 1) {

// (public) this << n
protected shiftLeft(n:number) {
public shiftLeft(n:number) {
const r = nbi();

@@ -338,3 +338,3 @@ if (n < 0) {

// (public) this >> n
protected shiftRight(n:number) {
public shiftRight(n:number) {
const r = nbi();

@@ -640,3 +640,3 @@ if (n < 0) {

// (public) this^e
protected pow(e:number) {
public pow(e:number) {
return this.exp(e, new NullExp());

@@ -643,0 +643,0 @@ }

{
"name": "@koush/jsencrypt",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"description": "A Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

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