6 kyu
Encrypt this!
2,497 of 23,744suic
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 | 47568 |
Total Skips | 7254 |
Total Code Submissions | 99474 |
Total Times Completed | 23744 |
Haskell Completions | 272 |
Python Completions | 8074 |
Ruby Completions | 584 |
Groovy Completions | 66 |
Swift Completions | 454 |
C Completions | 258 |
Kotlin Completions | 799 |
Scala Completions | 212 |
Java Completions | 2497 |
JavaScript Completions | 7044 |
TypeScript Completions | 1046 |
CoffeeScript Completions | 16 |
Go Completions | 809 |
C# Completions | 1066 |
VB Completions | 25 |
Rust Completions | 431 |
Clojure Completions | 81 |
Lua Completions | 107 |
PHP Completions | 420 |
Total Stars | 887 |
% of votes with a positive feedback rating | 92% of 2573 |
Total "Very Satisfied" Votes | 2207 |
Total "Somewhat Satisfied" Votes | 328 |
Total "Not Satisfied" Votes | 38 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |