It's quite easy to do that in Debian GNU/Linux:
base64
utility is a part of coreutils
package (that package has a "required" priority, i. e., it's an essential package for the system to work).When you finish typing your strings, don't forget to press <Enter> followed by <Ctrl> + <D> (or <Ctrl> + <D> twice, if you don't like newlines).
$ base64 Hello, world! SGVsbG8sIHdvcmxkIQo= $ $ base64 -d SGVsbG8sIHdvcmxkIQo= Hello, world!
$ base64 -d in.txt > out.dat
References:
See also:
base32
, a related thing found in the Debian coreutils package;basez
, another similar utility from other developers (official site, Debian package).
No comments:
Post a Comment