News for hackers. Stuff that matters.
Re:TIL that You can spot base64 encoded JSON, certificates, ... by creatonez on Tuesday August 05, 2025 @09:35PM (#44806697)
They were probably expecting base64 encoded binary data. Base64-encoded-binary-inside-Base64-encoded-JSON-inside-JSON is a really strange construction if you haven't encountered it before, because of how much space it's wasting playing a game of Russian nesting dolls.
Re:TIL that You can spot base64 encoded JSON, certificates, ... by fc417fc802 on Wednesday August 06, 2025 @01:23AM (#44807990)
Just add a layer of compression periodically to reclaim the wasted space and it will all work out.
Re:TIL that You can spot base64 encoded JSON, certificates, ... by throwaway4496 on Wednesday August 06, 2025 @08:07AM (#44810883)
If you have a compression that works on encrypted data, you can avoid wasting your time on the "encryption".
Re:TIL that You can spot base64 encoded JSON, certificates, ... by fc417fc802 on Wednesday August 06, 2025 @08:40AM (#44811192)
Base64 isn't encryption. The overhead added follows an extremely predictable pattern. That said I've no idea what the performance of common compression algorithms might be in such a use case. The comment was entirely tongue in cheek.
Re:TIL that You can spot base64 encoded JSON, certificates, ... by throwaway4496 on Thursday August 07, 2025 @01:44AM (#44821002)
I apologise for my mistake. Either the comment got edited or I misread encryption somewhere in there.