Package com.jcraft.jsch.bc
Class CAST128CTR
java.lang.Object
com.jcraft.jsch.bc.CAST128CTR
- All Implemented Interfaces:
Cipher
-
Field Summary
Fields inherited from interface com.jcraft.jsch.Cipher
DECRYPT_MODE, ENCRYPT_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFinal(byte[] foo, int s1, int len, byte[] bar, int s2) intintintvoidinit(int mode, byte[] key, byte[] iv) booleanisAEAD()booleanisCBC()booleanvoidupdate(byte[] foo, int s1, int len, byte[] bar, int s2) voidupdate(int foo) voidupdateAAD(byte[] foo, int s1, int len)
-
Constructor Details
-
CAST128CTR
public CAST128CTR()
-
-
Method Details
-
getIVSize
public int getIVSize() -
getBlockSize
public int getBlockSize()- Specified by:
getBlockSizein interfaceCipher
-
getTagSize
public int getTagSize()- Specified by:
getTagSizein interfaceCipher
-
init
-
update
-
update
-
updateAAD
-
doFinal
-
isCBC
public boolean isCBC() -
isAEAD
public boolean isAEAD() -
isChaCha20
public boolean isChaCha20()- Specified by:
isChaCha20in interfaceCipher
-