Click here to Skip to main content
Click here to Skip to main content

Cryptography with symmetric key using bitmaps

, 18 Oct 2003
Rate this:
Please Sign up or sign in to vote.
Cryptography with symmetric key using bitmaps

 

 Download sourcecode

This is an ideea of cryptography
  with symmetric keys, using bitmaps.

  The cryptography with symetric key works:
    You have a text in clear M and a key K, for code.
    Apply the key K to text in clear M and obtain
    a coded message C.
    Transfer coded message through a public line.
    At receiver apply key K to coded message C
    and obtain text in clear M.
    Nobody can decode coding messages C if he
    doesn't have key K.

  The key is a bitmap.
  The message in clear is a text file.
  The coded message is a bitmap.


How application works:
  An Ascii character is between 0 and 255.
  And a pixel in a bitmap is RGB(0:255,0:255,0:255)
  The basic ideea was to replace a component of a
    RGB element from a pixel (let's say blue) with ASCII
    character code. But in this case the photo
    is altered.
  So the ideea is to broke ascii character code into three
    parts. Example: 128 -> 1, 2, 8.
    First part (1) is added to a pixel, over red component.
    Second part (2) is added to the next pixel, over green component.
    Third part (8) is added to the pixel, over blue component.
  Using this method pixels are very little altered. 

  Limitations of application:
  1.Application works only with bitmap files.
  2.The text in clear file size must be smaller than
    the size of bitmap key file.
  3.Application is written in visual basic .net so you need
    to have installed .net framework (free download from microsoft site).

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

GINGISHAN2003
Web Developer
Romania Romania
nothing

Comments and Discussions

 
QuestionNeed Help PinmemberAfriadi29-Jul-06 10:54 
Generalknont PinmemberNavin Saxena15-Jul-04 23:45 
QuestionHow about creating a new bitmap PinmemberWillemM31-Dec-03 3:25 
GeneralSteganography PinmemberPsyDolphin20-Oct-03 0:16 
GeneralRe: Steganography Pinmemberrajfromindia1-Dec-04 15:07 
General.... PinmemberJonny Newman19-Oct-03 11:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 19 Oct 2003
Article Copyright 2003 by GINGISHAN2003
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid