-
Step 1
Choose the length of the blocks into which you will divide your message. For example, let's say you want to divide your message into eight-bit blocks.
-
Step 2
Decide on an encryption method. There are a range of methods that people have discovered already. If you don't want to study cryptography, select a known method. Assume that you're using a simple eight-bit encryption key.
-
Step 3
Select a value for the encryption key. For example, use 10100111.
-
Step 4
Encrypt the message by performing an exclusive-or operation on the first set of bits using the encryption key you chose in Step 3. For this example, if the first set of message bits is 01001000, then you'll get 11101111 as the result of the exclusive-or.
-
Step 5
Use a bit shift (eight places, in this case) to output the first block of encrypted message and to set in place the next block for encryption using the procedure in Step 4. Repeat until you've encrypted the entire message.
-
Step 6
Remove the encryption by performing Steps 4 and 5 on the encrypted message. You can use the same bit shift and exclusive-or procedure to both encrypt the plain message and to decipher the encrypted message.














