Base64符号化/復号化

 Base64による文字列の符号化復号化を行います。このスクリプトでBase64符号化できるのは、UCS2の文字コードx01〜xffの文字のみです。

入力

出力

 JSファイルはbase64.jsです。

Base64符号化
書式:encodeBase64(string)
string = Base64で符号化する文字列
Base64復号化
書式:decodeBase64(string)
string = Base64で符号化された文字列
動作確認ブラウザ [説明]
Internet Explorer 6.0 Firefox 1.0 Netscape 7.1 Opera 7.5