How base64 encoding works

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Okay, that ending = will create confusion.
So let's break it.
Base 64 creates groups where each group has 3 BYTES (each byte equals 1 character) but Hello has only 5 Characters so we add 1 byte (8 Zeros) at the end.
Now we break bytes into 6 bits and we are left with
This 6 Zero corresponds to A of base 64, but since these zeros were our padding and not the real data so that 6 Zeros is considered =.

undergraduate
Автор

I always wondered about that, just had never taken the time to look it up. But your explanation is probably way better than anything else out there.

javabeanz
Автор

How the first 6 bit chunk (010010) became 18 ?

Please explain and thank you so much for this short and amazing video.

❤️❤️

codewithsub
Автор

Could you please let me know font you use in vs code?

SamuelAndreychannel
Автор

What is the benefit of encoding it that way? Couldn't you just send the ascii directly?

nesssel
Автор

Damn you're out there raw dogging php. That missing closing tag is stressing me out.

WellDressedMuffin
Автор

Sorry but I didn't understand at all 😅

Raaampage
Автор

Dude never answered comments even when he got only 3

howuseehim