public class MyCTRCipher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DECRYPT_MODE |
static boolean |
ENCRYPT_MODE |
(package private) static int |
IV_SIZE |
(package private) static int |
KEY_SIZE |
private mybouncycastle.org.bouncycastle.crypto.modes.SICBlockCipher |
m_Cipher |
Modifier | Constructor and Description |
---|---|
private |
MyCTRCipher(byte[] symmetricKey,
boolean cryptMode) |
Modifier and Type | Method and Description |
---|---|
void |
decryptBuffer(byte[] cipherText,
byte[] plainText,
byte[] iv) |
static MyCTRCipher |
getCipher(byte[] symmetricKey,
boolean cryptMode) |
public static final boolean ENCRYPT_MODE
public static final boolean DECRYPT_MODE
static final int KEY_SIZE
static final int IV_SIZE
private mybouncycastle.org.bouncycastle.crypto.modes.SICBlockCipher m_Cipher
public static MyCTRCipher getCipher(byte[] symmetricKey, boolean cryptMode)
public void decryptBuffer(byte[] cipherText, byte[] plainText, byte[] iv) throws mybouncycastle.org.bouncycastle.crypto.InvalidCipherTextException
mybouncycastle.org.bouncycastle.crypto.InvalidCipherTextException
Copyright © 2023. All rights reserved.