第一步在需要使用到的页面,导入CryptoJS import { CryptoJS } from '@ohos/crypto-js' //第二步在需要使用到md5的业务逻辑,调用md5算法 var hash = CryptoJS.
確定! 回上一頁