Sunteți pe pagina 1din 15

Encryption Of Text Messages With

One Time Pad XOR Algorithm And


Steganography On Image With Least
Significant Bit

| EKA HARI SETYAWAN | 13451044 |


TECHNIC INFORMATION
BACKGROUND

The development of technology certainly has


considerable influence for our lives. But behind
the development of these technologies, the level
of security is the most important factor that
needs to be improved, one of them by creating
an application that can secure text messages by
means inserted into the image file.
SCOPE OF PROBLEM

As for the problem constraints faced as follows:


1. Data that can be secured only in the form of
text.
2. The image formats used are .bmp, and .png.
3. The software implemented in this study can only
work on Windows operating systems.
4. The programming language used is Visual Bassic
Net 2010.
ONE TIME PAD XOR ALGORITHM

As for some things that must be considered


in the application of One Time Pad XOR
algorithm is as follows:
1. Only use 1 (one) key for encryption and
decryption process.
2. Messages and keys must be converted to
binary numbers based on the ASCII
table.
3.The calculation process uses XOR
notation.
ASCII TABLE
XOR NOTE

A B Hasil
1 1 0
1 0 1
0 1 1
0 0 0

- If A and B are equal (1 1 or 0 0) then the result is 0.


- If A or B values are different (1 0 or 0 1) then the result 1.
LEAST SIGNIFICANT BIT (LSB)

The process is by replacing the least meaningful


bit (rightmost) bit value of 8 bits in an image
pixel, with the message bits to be inserted into
the image.
SAMPLE CASE
Message Convertion

Message S A Y A
Binery 01010011 01000001 01011001 01000001

Key Convertion

Key K A M U
Binery 01001011 01000001 01001101 01010101
Encription With One Time Pad XOR Algorithm

Plaintext 01010011 01000001 01011001 01000001

Key 01001011 01000001 01001101 01010101

Chiper 00011000 00000000 00010100 00010100

FORMULA:
C = P XOR K
Steganograph With Least Significant Bit
Decription With One Time Pad XOR Algorithm

Chiper 00011000 00000000 00010100 00010100

Key 01001011 01000001 01001101 01010101

Plaintext 01010011 01000001 01011001 01000001

FORMULA:
P = C XOR K
RESULT OF DECRIPTION

Plaintext 01010011 01000001 01011001 01000001

Message S A Y A
FLOWCHART MESSAGE INSERTION
FLOWCHART READ THE MESSAGE
THANK
YOU

S-ar putea să vă placă și