|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lava.security.des.DesEcbCoder | +--lava.security.des.DesEcbDecoder
Decrypts using DES-ECB.
Details: DesEcbDecoder
decrypts long
arrays using DES (or 3DES) in ECB mode. Please refer to the superclass documentation for important information regarding usage.
Constructor Summary | |
DesEcbDecoder(IBlockCipher64 engine)
Sets decryption engine. |
Method Summary | |
int |
continueTransform(java.lang.Object src,
java.lang.Object dest,
int length)
Decrypts longs. |
Methods inherited from class lava.security.des.DesEcbCoder |
beginTransform,
completeTransform,
getTransformInputWidth,
getTransformOutputWidth |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DesEcbDecoder(IBlockCipher64 engine)
Details: This constructor sets the 64-bit block decryption engine (engine) used for decryption. engine can be an instance of DesEngine
, TripleDesEngine
, or any other 64-bit block cipher that satisfies the IBlockCipher64
interface contract.
engine
- the engineMethod Detail |
public int continueTransform(java.lang.Object src, java.lang.Object dest, int length)
Details: continueTransform
decrypts the plain text stored in src and stores the resulting cipher text in the provided output array (dest). Both arrays must be long
arrays. If dest is too short to store the result, the overflow is discarded.
src
- cipher textdest
- plain textlength
- number of cipher text symbols
|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |