# cordova-plugin-aestool **Repository Path**: syjefbz/cordova-plugin-aestool ## Basic Information - **Project Name**: cordova-plugin-aestool - **Description**: 使用 Aes 加密码数据的 cordova 插件 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: phonegap-cordova-plugins **Tags**: None ## README cordova-plugin-aestool === > 使用 Aes 加密码数据的 cordova 插件, > 只是对 `AESCrypt-Android` 的一个简单封装 使用 --- ### 加密 ```javaScript let Aestool = cordova.plugins.Aestool; Aestool.encrypt(password, content, (error, data) => { if (error) { .... } else { .... } }); ``` ### 解密 ```javaScript let Aestool = cordova.plugins.Aestool; Aestool.decrypt(password, content, (error, data) => { if (error) { .... } else { .... } }); ``` 感谢 --- [AESCrypt-Android](https://github.com/scottyab/AESCrypt-Android)