[ Hacker Night School ] :: Encoding and Decoding: Base64, ASCII, etc.

Encoding and Decoding: It’s Not Encryption

There’s a form of hiding data that isn’t exactly encryption; it’s just simple encoding into another format that most people won’t be able to read. FTP passwords, for example, are encoded in FileZilla using Base 64 format.

Hexadecimal Encoding

This simply involves taking 8-bit (one Byte) information and splitting it into 4-bit (one nybble) form, representing plain text, for instance, as hexidecimal. See CyberChef below.

Base 64 Encoding

You can get fancy and learn to encode/decode Base 64 manually, but if you run into a encoded password, here’s a website that makes the process easy:

https://www.base64decode.org/

Be aware that you can encode/decode to other bases: Base 32 etc.

ASCII Encoding

Another common format involves encoding text as ASCII numeric references (“a” is 097 in ASCII). Here’s a site that does conversions for several formats, including Octal, Binary, Hexadecimal and more:

www.unit-conversion.info/texttools/ascii/

HTML (Entities) Encoding

https://www.web2generators.com/html-based-tools/online-html-entities-encoder-and-decoder

URL Encoding

You’d think this would be the same as HTML encoding … but no.

https://www.urlencoder.org/

CyberChef: The Grandmaster Encoder/Decoder, a lovely gift to you from GCHQ

You do know who GCHQ is, right? So take this gift with that knowledge. You can use it online, or download the software and run your own local service.

https://gchq.github.io/CyberChef/

CyberChef
Series Navigation<< [ Hacker Night School ] :: Python for Malware Analysis[ Hacker Night School ] :: Using the Greenbone Vulnerability Scanner >>

Leave a Reply