Use this simple tool to encrypt and decrypt short binary message. 'Crypto Algorithm Yin Yang' is a simple encryption algorithm example.
Test your cryptanalysis skills. Analyse it.
Try to break the code.
Enter binary message in upper box and get encrypted text - random numbers in box below.
Length of the encrypted text is not fixed.
Max number of characters in encrypted text is limited to 1000, if result is longer, it is truncated.
Enter encrypted text in box below and tap on 'decrypt' to get original binary message.
How it works?
There is a list of digits 0-9 that is used as cyclic cipher C which is secret.
Random numbers (0-9) are generated and added to ciphered text until we get one which is equal to first digit from C.
It starts from left and take first binary digit.
If it’s 0, random numbers (0-9) are generated (and memorized) until we get odd number. Now odd number is added to ciphered text and then all other generated and memorized numbers.
If it’s 1, random numbers (0-9) are generated (and memorized) until we get even number. Now even number is added to ciphered text and then all other generated and memorized numbers.
The process repeats for all binary digits, while next cipher digit is taken in each iteration cyclically.
What we get as ciphered text is a lot of random numbers – noise.
Combined with some of steganography methods it can hide our message in an image or a sound as background noise for example.