Package tech.mgl.core.c
Class MGL_AES
java.lang.Object
tech.mgl.core.c.MGL_AES
new
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbytesToHex(byte[] bytes) static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic SecretKeystatic byte[]generateIV(int length) static SecretKeygetAESKeyByBase64String(String keyBase64)
-
Constructor Details
-
MGL_AES
public MGL_AES()
-
-
Method Details
-
generateAESKey
-
getAESKeyByBase64String
-
generateIV
public static byte[] generateIV(int length) -
bytesToHex
-
encrypt
-
encrypt
-
encrypt
-
decrypt
-
decrypt
-
decrypt
-
decrypt
-