@koush/jsencrypt
Advanced tools
Comparing version 3.0.0-rc.3 to 3.0.0-rc.4
@@ -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
974516