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