Package com.bradyrussell.uiscoin
Class Encryption
java.lang.Object
com.bradyrussell.uiscoin.Encryption
public class Encryption
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Encryption()
-
Method Summary
-
Constructor Details
-
Encryption
public Encryption()
-
-
Method Details
-
encrypt
public static byte[] encrypt(byte[] Data, byte[] Key) throws javax.crypto.NoSuchPaddingException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException- Throws:
javax.crypto.NoSuchPaddingException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeException
-
decrypt
public static byte[] decrypt(byte[] Data, byte[] Key) throws javax.crypto.NoSuchPaddingException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException- Throws:
javax.crypto.NoSuchPaddingException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
javax.crypto.BadPaddingException
javax.crypto.IllegalBlockSizeException
-