com.stimulsoft.base
Class StiEncryption
java.lang.Object
com.stimulsoft.base.StiEncryption
public class StiEncryption
- extends Object
Copyright Stimulsoft
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiEncryption
public StiEncryption()
encrypt
public static int[] encrypt(int[] src,
int[] key)
encrypt
public static byte[] encrypt(byte[] src,
String password)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
decodeBase64
public static byte[] decodeBase64(String value)
encrypt
public static String encrypt(String src,
String password)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
decrypt
public static int[] decrypt(int[] src,
int[] key)
decrypt
public static int[] decrypt(int[] src,
String password)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
decrypt
public static String decrypt(String src,
String password)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
generateRandomKey
public static int[] generateRandomKey()
toB
public static byte[] toB(int[] in)
toI
public static int[] toI(byte[] in)
Copyright © 2017 Stimulsoft. All Rights Reserved.