Package com.jcraft.jsch.bc
Class TwofishCTR
java.lang.Object
com.jcraft.jsch.bc.TwofishCTR
- All Implemented Interfaces:
Cipher
- Direct Known Subclasses:
Twofish128CTR,Twofish192CTR,Twofish256CTR
-
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) intintvoidinit(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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jcraft.jsch.Cipher
getBlockSize
-
Constructor Details
-
TwofishCTR
public TwofishCTR()
-
-
Method Details
-
getIVSize
public int getIVSize() -
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
-