com.objectwave.crypto
Class SquareCts
java.lang.Object
|
+--com.objectwave.crypto.SquareCts
- All Implemented Interfaces:
- SquareMode
- public final class SquareCts
- extends java.lang.Object
- implements SquareMode
Method Summary |
void |
decrypt(byte[] buf,
int off,
int len)
|
void |
encrypt(byte[] buf,
int off,
int len)
|
protected void |
finalize()
|
void |
setIV(byte[] iv)
|
void |
setKey(byte[] key)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SquareCts
public SquareCts()
setKey
public final void setKey(byte[] key)
- Specified by:
setKey
in interface SquareMode
setIV
public final void setIV(byte[] iv)
- Specified by:
setIV
in interface SquareMode
encrypt
public final void encrypt(byte[] buf,
int off,
int len)
- Specified by:
encrypt
in interface SquareMode
decrypt
public final void decrypt(byte[] buf,
int off,
int len)
- Specified by:
decrypt
in interface SquareMode
finalize
protected final void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
java.lang.Throwable