5 kyu
Base64 Encoding
2,401 of 5,217joseph.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 | 16925 |
Total Skips | 5829 |
Total Code Submissions | 39381 |
Total Times Completed | 5217 |
JavaScript Completions | 2401 |
Python Completions | 1495 |
Swift Completions | 134 |
C# Completions | 661 |
TypeScript Completions | 576 |
Total Stars | 434 |
% of votes with a positive feedback rating | 81% of 780 |
Total "Very Satisfied" Votes | 554 |
Total "Somewhat Satisfied" Votes | 150 |
Total "Not Satisfied" Votes | 76 |