Package sk.antons.sprops.alg
Class SimpleAesSpropsAlg
- java.lang.Object
-
- sk.antons.sprops.alg.SimpleAesSpropsAlg
-
-
Constructor Summary
Constructors Constructor Description SimpleAesSpropsAlg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpropsDatadecode(byte[] data, int offset, int length)Decodes given data.byte[]encode(SpropsData data)Encode given data.voidpassword(byte[] password)Sets password used by algorithm.voidpassword(String password)Sets password used by algorithm.SpropsDataprepare(byte[] data)Prepare algorithm for encoding.
-
-
-
Method Detail
-
password
public void password(byte[] password)
Description copied from interface:SpropsAlgSets password used by algorithm.
-
password
public void password(String password)
Description copied from interface:SpropsAlgSets password used by algorithm.
-
prepare
public SpropsData prepare(byte[] data)
Description copied from interface:SpropsAlgPrepare algorithm for encoding.
-
encode
public byte[] encode(SpropsData data)
Description copied from interface:SpropsAlgEncode given data.
-
decode
public SpropsData decode(byte[] data, int offset, int length)
Description copied from interface:SpropsAlgDecodes given data.
-
-