Skip to content

useSecret ​

useSecret 是基础工具函数,提供了密钥方法。

API ​

Secret Methods ​

方法名说明参数示例
encrypt加密字符串stringconsole.log(encrypt('123456'));
decrypt解密字符串stringdecrypt(decrypt('123456'));