PEM(8)PEM(8)
NAME
pemdecode, pemencode – encode files in Privacy Enhanced Mail (PEM) format
SYNOPSIS
DESCRIPTION
PEM is a textual encoding for binary data originally used by the
Privacy Enhanced Mail program but now commonly used for
other applications, notably TLS.
PEM encodes data in base 64
(see
-----BEGIN SECTION----- -----END SECTION-----
where
EXAMPLES
Encode and decode a simple greeting:
% echo hello world | auth/pemencode GREETING -----BEGIN GREETING----- aGVsbG8gd29ybGQK -----END GREETING----- % echo hello world | auth/pemencode GREETING | auth/pemdecode GREETING hello world %