$ echo -n "credentials" | base64 Y3JlZGVudGlhbHM= $ echo -n "Y3JlZGVudGlhbHM=" | base64 --decode credentials echo -n とせず echo としてしまうと、末尾の改行コードが変換結果に含まれてしまうため、意図した結果にならない。注意すること $ echo "credentials" | base64 Y3JlZGVudGlhbHMK
![base64 encode and decode in command line - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/83c2155c8bf1fd845d72bff8654a5cdcda31f03e/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9YmFzZTY0JTIwZW5jb2RlJTIwYW5kJTIwZGVjb2RlJTIwaW4lMjBjb21tYW5kJTIwbGluZSZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnM9YzI4MGIxZmUxODdiYmU0YzBlMzA1YmRlYmMxMDc4YmQ%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDB1dXBhYSZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9N2FkZGMwYzA5NDcyMWE3ZTA0OGFmNjZhMDYxMzI5NDg%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D372c8ed33b076f7b266e8eacb607d0eb)
Encodes or decodes a string so that it conforms to the Base64 Data Encodings specification (RFC 4648). If you are decoding a binary file, use the 'Decode and download' button. The decoder will try to figure out the file type if it can. The maximum size limit for file upload is 2 megabytes. All files bigger than 500k will be output to a new window for performance reason and to prevent your browser
This encoder runs entirely in the browser—it does not send any data to any opinionatedgeek.com server for encoding. Learn more. Base64 is a way of representing binary data in an ASCII string. ‘Base64 encoding’ is the process of transforming binary or text data into its base64 representation, a string of odd-looking text. Wikipedia has a good expalanation of what base64 encoding and decoding involv
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く