ChaosDecrypter
, org.refcodes.security.Decrypter<byte[],byte[],org.refcodes.security.DecryptionException>
public class ChaosDecrypterImpl extends Object implements ChaosDecrypter
Constructor | Description |
---|---|
ChaosDecrypterImpl(double x0,
double a,
double s) |
Instantiates a new chaos decrypter impl.
|
ChaosDecrypterImpl(ChaosKey aKey) |
Instantiates a new chaos decrypter impl.
|
Modifier and Type | Method | Description |
---|---|---|
byte[] |
toDecrypted(byte[] aEncrypted) |
|
int |
toDecrypted(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] aOutput,
int aOutputOffset) |
public ChaosDecrypterImpl(double x0, double a, double s)
x0
- the x 0a
- the as
- the spublic ChaosDecrypterImpl(ChaosKey aKey)
aKey
- the keypublic byte[] toDecrypted(byte[] aEncrypted) throws org.refcodes.security.DecryptionException
toDecrypted
in interface org.refcodes.security.Decrypter<byte[],byte[],org.refcodes.security.DecryptionException>
org.refcodes.security.DecryptionException
public int toDecrypted(byte[] aInput, int aInputOffset, int aInputLength, byte[] aOutput, int aOutputOffset) throws ShortBufferException, org.refcodes.security.DecryptionException
toDecrypted
in interface org.refcodes.security.Decrypter<byte[],byte[],org.refcodes.security.DecryptionException>
ShortBufferException
org.refcodes.security.DecryptionException
Copyright © 2018. All rights reserved.