echo “secret” | base64 vs echo -n “secret” | base64
echo "secret" | base64
Is not the same as
echo -n "secret" | base64
Without the -n switch, echo will append a newline which will also be encoded by base64.
|
|
echo "secret" | base64
Is not the same as
echo -n "secret" | base64
Without the -n switch, echo will append a newline which will also be encoded by base64.
|
|