Package com.stimulsoft.base
Class StiEncryption
java.lang.Object
com.stimulsoft.base.StiEncryption
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StiEncryption
public StiEncryption()
-
-
Method Details
-
encrypt
public static int[] encrypt(int[] src, int[] key) -
encrypt
- Throws:
NoSuchAlgorithmException
-
decodeBase64
-
encrypt
- Throws:
NoSuchAlgorithmException
-
decrypt
public static int[] decrypt(int[] src, int[] key) -
decrypt
- Throws:
NoSuchAlgorithmException
-
decrypt
- Throws:
NoSuchAlgorithmException
-
generateRandomKey
public static int[] generateRandomKey() -
toB
public static byte[] toB(int[] in) -
toI
public static int[] toI(byte[] in)
-