Back to course home
0% completed
Vote For New Content
Hello! Why do we need to apply base64 encoding? Why is applying the MD5 algorith...
Curious Designer
Dec 9, 2021
Hello! Why do we need to apply base64 encoding? Why is applying the MD5 algorithm not enough? Thank you!
0
0
Comments
Comments
Design Gurus4 years ago
The encoding is done for better readability. For example, base64 encoding , as proposed in the chapter, will ensure that our short URL can only have characters from a fixed set of 64 characters.
The hash can then be encoded for display.
C
Curious Designer4 years ago
Thank you!
F
F 3 years ago
If the concern is the readability of the character set, doesn't MD5 already limit the fixed set to 32 characters though?
V
vineetchawla19 2 years ago
A URL can be pretty big. MD5 will give us a fixed 128 bit string to base64 encode