5 kyu
Base64 Encoding
2,441 of 5,382joseph.varnado
Description:
Extend the String object (JS) or create a function (Python, C#) that converts the value of the String to and from Base64 using the ASCII (UTF-8 for C#) character set.
Example (input -> output):
'this is a string!!' -> 'dGhpcyBpcyBhIHN0cmluZyEh'
You can learn more about Base64 encoding and decoding here.
Note: This kata uses the non-padding version ("=" is not added to the end).
Binary
Strings
Algorithms
Similar Kata:
Stats:
Created | Oct 30, 2013 |
Published | Oct 30, 2013 |
Warriors Trained | 17272 |
Total Skips | 5850 |
Total Code Submissions | 40222 |
Total Times Completed | 5382 |
JavaScript Completions | 2441 |
Python Completions | 1565 |
Swift Completions | 140 |
C# Completions | 687 |
TypeScript Completions | 605 |
Total Stars | 440 |
% of votes with a positive feedback rating | 81% of 797 |
Total "Very Satisfied" Votes | 566 |
Total "Somewhat Satisfied" Votes | 154 |
Total "Not Satisfied" Votes | 77 |