Exemplo n.º 1
0
 public static byte[] DecryptString(string strSource, bool header = true)
 {
     byte[] bytes = Encoding.UTF8.GetBytes(strSource);
     return(AESSecurity.DecryptBytes(bytes, header));
 }
Exemplo n.º 2
0
 public static byte[] DecryptBytes(byte[] datas)
 {
     return(AESSecurity.DecryptBytes(datas, true));
 }