6 kyu
Encrypt this!
272 of 23,596suic
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:
encryptThis "Hello" == "72olle"
encryptThis "good" == "103doo"
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 | 47359 |
Total Skips | 7227 |
Total Code Submissions | 98974 |
Total Times Completed | 23596 |
Haskell Completions | 272 |
Python Completions | 8020 |
Ruby Completions | 584 |
Groovy Completions | 66 |
Swift Completions | 452 |
C Completions | 255 |
Kotlin Completions | 796 |
Scala Completions | 211 |
Java Completions | 2486 |
JavaScript Completions | 7001 |
TypeScript Completions | 1041 |
CoffeeScript Completions | 16 |
Go Completions | 805 |
C# Completions | 1058 |
VB Completions | 25 |
Rust Completions | 428 |
Clojure Completions | 81 |
Lua Completions | 104 |
PHP Completions | 411 |
Total Stars | 881 |
% of votes with a positive feedback rating | 92% of 2567 |
Total "Very Satisfied" Votes | 2202 |
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 |