org.refcodes.security.Encrypter<String,String,org.refcodes.security.EncryptionException>
public class ChaosTextEncrypter extends Object implements org.refcodes.security.Encrypter<String,String,org.refcodes.security.EncryptionException>
ChaosTextEncrypter
will use String
as input and output
type.Constructor | Description |
---|---|
ChaosTextEncrypter(double x0,
double a,
double s) |
Instantiates a new chaos text encrypter.
|
ChaosTextEncrypter(String aSecret) |
Instantiates a new chaos text encrypter.
|
ChaosTextEncrypter(ChaosKey aKey) |
Instantiates a new chaos text encrypter.
|
Modifier and Type | Method | Description |
---|---|---|
int |
toEncrypted(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] aOutput,
int aOutputOffset) |
|
String |
toEncrypted(String aDecrypted) |
public ChaosTextEncrypter(double x0, double a, double s)
x0
- the x 0a
- the as
- the spublic ChaosTextEncrypter(ChaosKey aKey)
aKey
- the keyCopyright © 2021. All rights reserved.