#author("2022-11-23T09:30:11+09:00","","") #topicpath /////////////////////////////////////////////////////////////////////////////// * 目次 [#t7143020] #contents(); /////////////////////////////////////////////////////////////////////////////// * base64 [#zca698d8] - base64 encode / decode を行う /////////////////////////////////////////////////////////////////////////////// * 使い方 [#fe7d80a9] //============================================================================= ** base64 encode [#nb977bc6] - コマンド書式 $ base64 <input-file> 又は $ cat <input-file> | base64 //============================================================================= ** base64 decode [#k00fcb7c] - コマンド書式 $ base64 -d <input-file> 又は $ cat <input-file> | base64 -d 又は $ cat <input-file> | tr -d '\n' | base64 -d -- base64 encode されたデータの改行位置がおかしくなっている場合には、tr コマンドを挟んで予め改行を取り除く。