编程语言
首页 > 编程语言> > javascript使用MD5加密

javascript使用MD5加密

作者:互联网

var host = '{""timestamp":"20210511135037619","acct":"XXX"}';
var service = '{"prod":"XXX","t_id":"SSS","name":"AAAA","id":"XXX"}';

var key = CryptoJS.MD5(host+service).toString().toUpperCase();
pm.globals.set("host", host);
pm.globals.set("service", service);
pm.globals.set("key", key);

 

标签:set,加密,service,javascript,host,globals,pm,XXX,MD5
来源: https://www.cnblogs.com/51testing/p/15976304.html