下面這個js代碼如果用python該怎麼解密呢?最好把Python代碼寫上,有用必采納
function encrypto(message){ var key = 'MjBxZDAxNDQ='; var keyHex = CryptoJS.enc.Utf8.parse(key); var encrypted = CryptoJS.DES.encrypt(message, keyHex, { mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7 }); return encrypted.toString();}