The FlipPad Cipher is a custom encryption method that combines a unique transformation process with a one-time pad (OTP) for enhanced security. This cipher is designed for educational and personal use and implements the following encryption steps:
-
Split the Word:
- The input text is divided into two halves. For odd-length words, the extra character is assigned to the first half.
-
Reverse the Second Half:
- The second half of the word is reversed to introduce a layer of obfuscation.
-
Apply the One-Time Pad:
- A one-time pad is applied to both halves of the transformed text, ensuring strong encryption.
-
Recombine the Halves:
- The processed halves are concatenated to form the final encrypted output.
- Strong security through one-time pad encryption.
- Obfuscation via reversal of part of the input.
- Suitable for short, string-based encryption tasks.
- Input:
cipher
- Split:
cip
andher
- Reverse second half:
cip
andreh
- Apply OTP (key:
[4, 5, 9, 3, 8, 2]
):- First half:
cip
becomeshow
- Second half:
reh
becomesvmj
- First half:
- Recombine:
howvmj
To use the FlipPad Cipher:
- Clone this repository:
git clone https://github.com/AthiniMgagule/flippad-cipher.git
- Navigate to the project directory:
cd flippad-cipher
- Compile and run the Java program:
javac FlipPadCipher.java java FlipPadCipher
This project is proprietary and confidential. Unauthorized copying, modification, or distribution of this software, in part or whole, is strictly prohibited.
Contributions are not accepted for this project, as it is strictly for personal or educational use. Please contact the author for any inquiries.
For more information or questions about the FlipPad Cipher, please contact:
- Name: [Athini Mgagule]
- Email: [athinimgagule03@gmail.com]
© [Athini Mgagule], [2025]. All rights reserved.