/**
 * 该模块是用于M3登陆的加解密<br>
 *  <strong>
 *          页面需要导入的文件
 *          <ul>
 *              <li>cmp-encrypt.js</li>
 *          </ul>
 *      </strong>
 * @module Encrypt
 * @subtitle 登陆加解密
 */

/**
 * M3加解密<br>
 * @class encrypt
 * @namespace cmp
 * @type {{}}
 */

/**
 * M3登陆加密
 * @namespace cmp.encrypt
 * @method encryptM3Login
 * @param {Object} options 配置参数
 *       @param {Sting} options.value 应用登陆密码
 *       @param {Function} options.success 成功回调
 *       @param {Function} options.error 失败回调
 * @example
 * ```
 * 文件导入路径:
 * M3App端
 *  <script  src="http://cmp/v1.0.0/js/cordova/__CMPSHELL_PLATFORM__/cordova.js"></script>
 *  <script  src="http://cmp/v1.0.0/js/cordova/cordova-plugins.js"></script>
 *  <script  src="http://cmp/v/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-encrypt.js"></script>
 *  ===========================================================================================
 *  微协同端:不支持
 *  =========================================================================================
 *  调用组件
 * <script>
 *    cmp.encrypt.encryptM3Login({
 *           value: "xxxx",
 *           success: function () {
 *           },
 *           error: function(){}
 *    });
 * </script>
 * ```
 */

/**
 * M3登陆解密
 * @namespace cmp.encrypt
 * @method decryptM3Login
 * @param {Object} options 配置参数
 *       @param {Sting} options.value 应用登陆密码
 *       @param {Function} options.success 成功回调
 *       @param {Function} options.error 失败回调
 * @example
 * ```
 * 文件导入路径:
 * M3App端
 *  <script  src="http://cmp/v1.0.0/js/cordova/__CMPSHELL_PLATFORM__/cordova.js"></script>
 *  <script  src="http://cmp/v1.0.0/js/cordova/cordova-plugins.js"></script>
 *  <script  src="http://cmp/v/js/cmp.js"></script>
 *  <script  src="http://cmp/v/js/cmp-encrypt.js"></script>
 *  ===========================================================================================
 *  微协同端:不支持
 *  =========================================================================================
 *  调用组件
 * <script>
 *    cmp.encrypt.decryptM3Login({
 *           value: "xxxx",
 *           success: function () {
 *           },
 *           error: function(){}
 *    });
 * </script>
 * ```
 */
    
Top