Encode raw data using the base64 algorithm or decode base64-encoded data back to its raw representation.
Base-64 decodes the encoded string 'c2VjcmV0':
base64 decode -d c2VjcmV0
Base-64 encodes the clear-text string 'secret':
base64 encode -d secret
Decode base64-encoded information into raw data
Base-64 decodes the encoded string 'c2VjcmV0':
base64 decode -d c2VjcmV0
-d {data}
--encodedData {data}
Description | The base64-encoded data to be decoded |
Required | No |
Multi-Valued | No |
-f {path}
--encodedDataFile {path}
Description | The path to a file containing the base64-encoded data to be decoded |
Required | No |
Multi-Valued | No |
-o {path}
--toRawFile {path}
Description | The path to a file to which the raw base64-decoded data should be written |
Required | No |
Multi-Valued | No |
Encode raw data using base64
Base-64 encodes the clear-text string 'secret':
base64 encode -d secret
-d {data}
--rawData {data}
Description | The raw data to be base64 encoded |
Required | No |
Multi-Valued | No |
-f {path}
--rawDataFile {path}
Description | The path to a file containing the raw data to be base64 encoded |
Required | No |
Multi-Valued | No |
-o {path}
--toEncodedFile {path}
Description | The path to a file to which the base64-encoded data should be written |
Required | No |
Multi-Valued | No |