Base64 Decoder - Decode Base64 Encoded Strings Online
Base64 Decoder
<script>
function decode() {
var input = document.getElementById('input').value;
var output = document.getElementById('output');
var padding = '';
if (input.length % 4 !== 0) {
var padCount = 4 - input.length % 4;
padding = Array(padCount + 1).join('=');
}
var decoded = atob(atob(input + padding));
output.value = decoded;
}
</script>
原文地址: https://www.cveoy.top/t/topic/njeX 著作权归作者所有。请勿转载和采集!