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