Package | Description |
---|---|
com.tinfoilsms.crypto | |
com.tinfoilsms.test |
Modifier and Type | Method and Description |
---|---|
static byte[] |
ECGKeyExchange.signPubKey(Digest digest,
byte[] encodedPubKey,
APrioriInfo sharedInfo,
boolean isInitiator) |
static boolean |
ECGKeyExchange.verifyPubKey(Digest digest,
byte[] signedPubKey,
APrioriInfo sharedInfo,
boolean isInitiator) |
Constructor and Description |
---|
ECEngine(BufferedBlockCipher cipher,
CipherParameters nonce,
APrioriInfo sharedInfo)
Constructor, specify the block cipher to use such as CBC or BlowFish.
|
ECEngine(BufferedBlockCipher cipher,
CipherParameters nonce,
Digest digest,
APrioriInfo sharedInfo)
Constructor, specify the block cipher and digest to use
|
ECEngine(CipherParameters nonce,
APrioriInfo sharedInfo)
The default constructor, creates an instance of the ECEngine using the
following default parameters, it is recommended that you use this
constructor unless you have a pressing need to deviate from the default
parameters.
|
Modifier and Type | Field and Description |
---|---|
private APrioriInfo |
APrioriInfoTest.priorInfo |
private APrioriInfo |
ECGKeyExchangeTest.priorInfo |
private APrioriInfo |
ECEngineTest.priorInfo |