Base64 Encoding/Decoding explained

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


FOLLOW US:

Don't forget to subscribe! Really appreciate it!

Music: Mura Masa - Lotus Eater (Tonton Remix) by Underground Charisma
Рекомендации по теме
Комментарии
Автор

I got what i wanted from minute 5 but i watch the whole thing just for the good way of explaining the subject. Thank you very much my man.

dexmake
Автор

For the past 5 hrs I've been searching for I dont know what but your video solved my problem, you are god's angel bro 😭😂

mdshadab
Автор

You are a genius, I've been sucking with this about 2 days ago, and ur video brightened my mind THANKS!

bence
Автор

I have something I need decoded that's in base 64. I'm just learning, but it's important!

ashtonmiller
Автор

simple and to the point, thank you :)

a_maxed_out_handle_of__chars
Автор

Great content .
Correct me if i'm wrong,
@3:45, Is that a base64 table, instead of ASCII Table

Mohan-jdck
Автор

"new Buffer" has been depricated since Node v6. Just use this:
const newEncoded = Buffer
.from(input[, initialEncoding])
.toString(newEncoding);

Also, the "=" at the end is important if you need to concatenate base64 strings.

The use of "=" in the binary format doesn't make sense. It has to be padded with zeros "0". Your map of "1111=" to 60 proves this as it is actuall a map of "111100" to 60.

Fun fact:
Base64 encoding is a secondary kind of encoding relative to ASCII, since you pad (first with zeros, then with "=" symbols) to get base64, but to go back you need to trim (first trimming "=" then trimming zeros). You can't reverse their roles in this regard since the base64 character set is a subset of the ASCII character set.

gustavstreicher
Автор

Thanks a lot for the explication. Can you please tell me why you have to make groups of 6 bits?

ravendfj
Автор

does a frontend dev convert image to base64 and the backend guy save it as string using LOB?

ramabookstroremalang
Автор

great for optimizing/taking advantage of funtions in the language, not so much for the actual learning :/

TsArt
Автор

something is not adding here - 1111 cannot be 60 in decimal 2^3 + 2^2 + 2^1 + 2^0 = 8 + 4 + 2 + 1 = 15

amitmalhotra
Автор

What's the name of that VSCode theme?

krishnachaitanya
Автор

And another one that skips the binary etc
Why because you do not know it

jolllyroger