output">结果</label>
                <div class="form-control-wrap">
                    <textarea class="form-control" id="output" rows="8" placeholder="base64编码/解码的结果"></textarea>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
{/block}
{block name="script"}
<script src="{$cdn_cdnjs}crypto-js/4.1.1/crypto-js.min.js"></script>
<script>
function encode() {
    var input = $("#input").val();
    try {
        const wordArray = CryptoJS.enc.Utf