public class MyCTRCipher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DECRYPT_MODE |
static boolean |
ENCRYPT_MODE |
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
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.