1// å 坿°æ®å½æ° å·¥å ·crypto.js æä»¶å·¥å · 2/** 3 * @word è¦å å¯çå 容 4 * @keyWord String æå¡å¨éæºè¿åçå ³é®å 5 * */ 6function aesEncrypt(word,keyWord){ 7 // var keyWord = keyWord || "XwKsGlMcdPMEhR1B" 8 var key = CryptoJS.enc.Utf8.parse(keyWord); 9 var srcs = CryptoJS.enc.Utf8.parse(word); 10 var encrypted = CryptoJS.AES.encrypt(srcs, key, {mode:CryptoJS.mode.ECB,padding: CryptoJS.pad.Pkcs7}); 11 return encrypted.toString(); 12}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.