Encryption Program

Encryption Program

The mission is in Blocked Mode. Access to the solutions is blocked for a day or two (even after you share your own), until we'll have enough solutions for you to check. All users who've solved the mission will get the notifications about their opening.

Take a string from a user and print an encrypted version with the following rules: 1 letter words - transform them into the numeric value in Unicode 2 letter words - transform in a coordinate pair with the numeric value of each coordinate as the position in the alphabet 3 letter words - reverse the order of the letters 4 letter words and larger - change the letter into a letter one value bigger based on Unicode value Finally, change any spaces to h's and any h's to spaces. Good luck!

example

Input: Str.

Output: Str.

Example:

encrypt("I hello my passwords are good") == 73hifmmph(13,h25)hqbttxpsetherah ppe
encrypt("I like pickles") == 73hmjlfhqjdlmft

How it’s used: Encryption is used to send secret messages and keep files secure!

Become Awesome

  • No Ads
  • No Limits
  • More Content