Hot answers tagged

2

The reason is that base64-encoded strings should be a multiple of 4 characters in length. If the base-64 string is not a multiple of 4 characters in length, then pad it using the '=' characters. The following command runs successfully (as you stated in your question): echo -n 'eyJ0ZXN0MSI6eyJ2YWwyIjotOTEuNiwidmFsMyI6NDAuMTIzNH19' | base64 -d {"test1&...


Only top voted, non community-wiki answers of a minimum length are eligible