Method | Description | |
---|---|---|
PKCS1PadType1 ( byte input, int len ) : BigInteger |
Make encoded message (EM) as described in PKCS#1
|
|
PKCS1PadType2 ( byte input, int len, Rng rng ) : BigInteger |
Make encoded message (EM) as described in PKCS#1
|
|
StripPKCS1Pad ( BigInteger input, int type ) : BigInteger |
Extract an message from the encoded message (EM) described in PKCS#1
|
public static PKCS1PadType1 ( byte input, int len ) : BigInteger | ||
input | byte | input bytes |
len | int | total byte length of the result |
return | BigInteger |
public static PKCS1PadType2 ( byte input, int len, Rng rng ) : BigInteger | ||
input | byte | input bytes |
len | int | total byte length of the result |
rng | Rng | random number generator |
return | BigInteger |
public static StripPKCS1Pad ( BigInteger input, int type ) : BigInteger | ||
input | BigInteger | encoded message bits |
type | int | type number (1 or 2) |
return | BigInteger |