Base64: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 39: | Line 39: | ||
A RFC2045 Base64 encoder. Breaks lines with \n\r. | A RFC2045 Base64 encoder. Breaks lines with \n\r. | ||
==URL Encoder== | ==URL Encoder== | ||
=Command Line base64 Encoder/Decoder= | |||
[[base64 Command|base64]] | |||
=Go= | |||
{{Internal|Base64_in_Go#Overview|Base64 in Go}} |
Latest revision as of 01:41, 13 March 2024
External
Internal
TO Process
- http://localhost:9627/personal/Wiki.jsp?page=Base64
- http://localhost:9627/personal/Wiki.jsp?page=Base64EncoderDecoder2
- http://localhost:9627/personal/Wiki.jsp?page=Base64Encoder1
Overview
The Base64 encoding is a binary data encoding scheme designed to represent arbitrary sequences of octets in a form that allows the use of both upper- and lowercase letters (so it can be embedded where text goes) but that need not be human readable.
java.util.Base64
import java.util.Base64;
...
Base64.getMimeEncoder().encodeToString(s.getBytes());
Base64.getEncoder()
new String(Base64.getMimeDecoder().decode(s));
Base64.getDecoder()
Basic Encoder
MIME Encoder
A RFC2045 Base64 encoder. Breaks lines with \n\r.
URL Encoder
Command Line base64 Encoder/Decoder
base64