摘要:
1、npm install crypto-js然后在项目中引入sha2562、import sha256 from 'crypto-js/sha256';然后将想要转换的字符 加密3、const hashDigest = sha256("我和我的祖国").toString();console.log 阅读全文
摘要:
// 下载方法downloadString=(name, data) =>{ var urlObject = window.URL || window.webkitURL || window; var export_blob = new Blob([data]); var save_link = d 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文