자바스크립트 base641 자바스크립트 URL/Base64/Hex Encoding, Decoding //url encodingfunction urlenc() {var str = document.getElementById("url").value;var ret = encodeURIComponent(str);document.getElementById("url").value = ret;}//url decodingfunction urldec() {var str = document.getElementById("url").value;var ret = decodeURIComponent(str);document.getElementById("url").value = ret;}//base64 encodingfunction base64enc() {var str = document.getElementById("base64").. 2017. 2. 18. 이전 1 다음