Home

markdown notes

Basics

table of contents


Encoding vs Hashing vs Encryption

Encoding

what is encoding?
>> what%20is%20encoding%3F

URLs are allowed to have limited number of characters, ` ` (space) and ? are not one of that.
This transformation of data to another form for the purpose of storage or transmission is called encoding.
Many other options for encoding - binary, hexadecimal, base64, UTF-8

Encoding is reversible, anyone can decode %20 to space (‘ ‘) It is about data representation and not security

Other usecases

Hashing

A Process to convert data into another irreversible form by using a Hashing Algorithm.

Main Features of Hashing

Other Usecases

Encryption

Encryption

Essentially an art of hiding information

SHA 2

Hashing is a one-way transformation SHA 256 - 256 bits

Symmetric Encryption - AES

API Protocols Explained: When to Use HTTP, WebSockets, gRPC & More