5 kyu
Base64 Encoding
2,406 of 5,248joseph.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 | 17008 |
Total Skips | 5844 |
Total Code Submissions | 39503 |
Total Times Completed | 5248 |
JavaScript Completions | 2406 |
Python Completions | 1504 |
Swift Completions | 135 |
C# Completions | 662 |
TypeScript Completions | 591 |
Total Stars | 435 |
% of votes with a positive feedback rating | 81% of 782 |
Total "Very Satisfied" Votes | 556 |
Total "Somewhat Satisfied" Votes | 150 |
Total "Not Satisfied" Votes | 76 |