| Access | Constructor and Description |
|---|---|
| public | |
| public | FPEFF1Engine(BlockCipher
cipher to base the FPE algorithm on. baseCipher)Build the engine using the specified 128 bit block cipher. |
| Modifier and Type | Method and Description |
|---|---|
| protected int | decryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff)
Implements abstract org. |
| protected int | encryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff)
Implements abstract org. |
| public String | getAlgorithmName()
Implements abstract org. |
| public void | init(boolean
true if initialising for encryption, false otherwise. forEncryption, CipherParameters the key and other parameters to use to set the engine up. parameters)Implements abstract org. |
| FPEFF1Engine | back to summary |
|---|---|
| public FPEFF1Engine() Base constructor - the engine will use AES. | |
| FPEFF1Engine | back to summary |
|---|---|
| public FPEFF1Engine(BlockCipher baseCipher) Build the engine using the specified 128 bit block cipher.
| |
| decryptBlock | back to summary |
|---|---|
| protected int decryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff) Implements abstract org. | |
| encryptBlock | back to summary |
|---|---|
| protected int encryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff) Implements abstract org. | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements abstract org. Doc from org. Return the name of the algorithm the cipher implements.
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters parameters) Implements abstract org. Doc from org. Initialize the FPE engine for encryption/decryption.
| |