Base64 encode file in terminal:
1 | base64 -i <in-file> -o <outfile> |
Base64 encode input string in terminal:
1 | # -n prevents adding line feed to the end of the string |
Decode base64 string:
1 | # -n prevents adding line feed to the end of the string |
Base64 encode file in terminal:
1 | base64 -i <in-file> -o <outfile> |
Base64 encode input string in terminal:
1 | # -n prevents adding line feed to the end of the string |
Decode base64 string:
1 | # -n prevents adding line feed to the end of the string |