Project

Chuck Norris Cipher Encoder (Kotlin)

Medium
530 completions
~ 13 hours
4.1

This project will allow us to deal with string and character variables and work with loops and conditional statements. Get familiar with the binary notation and data type conversion. Create an application for the unary representation and decoding of any text.

Provided by

JetBrains Academy JetBrains Academy

About

Secret agents use encryption all the time. You know that everything can be encrypted as different characters. What about encryption that uses only one character and space? This method has a name — the Chuck Norris cipher. In this project, you will create a program that can encrypt any text into a sequence of zeros and spaces and decrypt this sequence into text.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Learn how to convert characters into their binary representation.
Learn how to encrypt any text with zeros and spaces.
Create a program that can decrypt any text using only zeros and spaces.
Create a program that can encrypt or decrypt text using only zeros and spaces.

Reviews

Gerson Santos da Silva avatar
Gerson Santos da Silva
2 months ago
I learned how to convert characters to binary and back, apply custom encoding and decoding rules, and validate user input in Kotlin. Understanding the Chuck Norris unary encoding logic was challenging at first, but breaking the problem into steps helped me solve it and strengthen my Kotlin string-ha ...
Khelil Kridi avatar
Khelil Kridi
8 months ago
I feel like the project a re becoming more and more abstract and do not solve real issues
Ruslan Men avatar
Ruslan Men
9 months ago
I have learned the basics of binary numbers and how to work with unexpected inputs. It was very interesting!

4.1

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.3
Fun
4.0
Clarity
4.1