This playlist has been updated! Please check: www.youtube.co... how to encode and decode strings in base64 javascript with atob() and btoa() function in javascript.Website: codedamn.com Facebook: / codedammmn Twitter: / codedammer
So, say when you type something into a box and u hit double spaces here's an example of wat the code looks like vs the thing u see " hello" vs thing u see " hello", so I'm making it save the file, it works but it saves the too, how do i make the javascript read the as a space?
hi i have a problem that i am making a chrome extension i which i have to copy a png image from a website and pass it to my native application. i am trying to get the png image in a variable. var captcha = document.getElementById("cimage").src; and when i type catcha then in output it gives me the image URL. now how can i convert that captcha variable into a base64 string.
I never said that it is used for encryption. Base64 is just a tool to convert a string to another string where only 64 valid and HTTP protocol safe characters are used. Its just like writing roman numerals in binary, anyone can do that. Understand the difference between encryption and encoding. Base64 is encoding, not encryption.
Its like: presume that everybody knows english ok? If someone send mail he doesnt know if reciever speaks same language .. like russian send a mail to spain but for them its some gibberish. So russian translate it to english and send it to spain in english. They translate it back from english to spain, got it? Now you asked if translation your message to language everybody knows prevents someone from reading it .. try guess :)
So A understands binary and B understands Base10. A wants to send data to B. A converts binary data to base64 and sends to B. B receives the data and converts the base64 data to base10 and hence understands the text. That correct?