2015年2月3日火曜日

WindowsでBASE64

・Windowsではcertutilコマンドで

certutil -encode aaa.txt aaa_base64.txt

certutil -decode aaa_base64.txt aaa.txt


type test.txt
テスト

certutil -encode test.txt test_base64.txt

type test_base64.txt
-----BEGIN CERTIFICATE-----
g2WDWINnIA0K
-----END CERTIFICATE-----

certutil -decode test_base64.txt test_base64_de.txt

type test_base64_de.txt
テスト

0 件のコメント:

コメントを投稿