Exemplo n.º 1
0
 public static Exception WriteFileEncrypt(string path, string content)
 {
     byte[] bts = Utils.UTF8ToBytes(content);
     bts = AESUtil.aesEncryptBase64(bts, Const.kAesKey);
     return(WriteFile(path, bts));
 }