6 kyu
Encrypt this!
2,482 of 23,554suic
Description:
Acknowledgments:
I thank yvonne-liu for the idea and for the example tests :)
Description:
Encrypt this!
You want to create secret messages which can be deciphered by the Decipher this! kata. Here are the conditions:
- Your message is a string containing space separated words.
- You need to encrypt each word in the message using the following rules:
- The first letter must be converted to its ASCII code.
- The second letter must be switched with the last letter
- Keepin' it simple: There are no special characters in the input.
Examples:
Kata.encryptThis("Hello") => "72olle"
Kata.encryptThis("good") => "103doo"
Kata.encryptThis("hello world") => "104olle 119drlo"
Fundamentals
Strings
Regular Expressions
Arrays
Ciphers
Algorithms
Cryptography
Security
Similar Kata:
Stats:
Created | Dec 7, 2016 |
Published | Dec 7, 2016 |
Warriors Trained | 47281 |
Total Skips | 7215 |
Total Code Submissions | 98860 |
Total Times Completed | 23554 |
Haskell Completions | 271 |
Python Completions | 8004 |
Ruby Completions | 584 |
Groovy Completions | 66 |
Swift Completions | 450 |
C Completions | 255 |
Kotlin Completions | 795 |
Scala Completions | 211 |
Java Completions | 2482 |
JavaScript Completions | 6990 |
TypeScript Completions | 1039 |
CoffeeScript Completions | 16 |
Go Completions | 804 |
C# Completions | 1056 |
VB Completions | 25 |
Rust Completions | 428 |
Clojure Completions | 81 |
Lua Completions | 103 |
PHP Completions | 409 |
Total Stars | 881 |
% of votes with a positive feedback rating | 92% of 2563 |
Total "Very Satisfied" Votes | 2198 |
Total "Somewhat Satisfied" Votes | 327 |
Total "Not Satisfied" Votes | 38 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |