06 October 2005

[Flash 8] Text to/from Bitmap "Encryption"

Written by Richard Leggett ( Contact the author of this post )
Published on October 6th, 2005 @ 11:56:41 am, using 246 words, 2461 views
Categories: Flash

From the "why bother?" department, I've created a little app that converts between ASCII text and BitmapData.

Here is a sample .bmp file that I took a screenshot of and imported into my FLA's library.

Sample

Now it may look like a miniature Magic Eye, but it does actually have a message hidden in it. To read the message you need the salt which is used in the conversion of ASCII to hex colours, and of course this little Flash 8 app.

______________________________________________________________________________________________________________________________
Click to open
______________________________________________________________________________________________________________________________

Click here to open the app. I'm not sure what to do with source at the moment, possibly submit it for approval to the fantastic IFBIN service if anyone finds this useful and I find time to comment the code fully to bring it up to IFBIN standards.

Also, the reason I put the word Encryption in quotes like that was because a statistical analysis on the bitmap would probably crack any image (of sufficient length) in milliseconds. But the algorithm (which at the moment is a simple multiplication and addition), could be made a lot more complex to prevent this to a certain extent.


Some things to try:

  • Reduce the number of letters in the salt to reduce the colour range in the image.
  • Use a few upper-case OR lower-case in the salt to alter the hue of the image.
  • Paste in your favourite poem and see what a pretty picture it makes :)
  • Adapt the source to allow sharing of bitmap messages via remoting / FCS.

Comments, Pingbacks:

Comment from: Mario Klingemann
Nice Idea!

And now how about a bit steganography by using only the lowest significant bits and allow to embed texts into regular images?
PermalinkPermalink 06/10/05 @ 15:29
Comment from: Richard Leggett [Member] Email
Hey Mario, actually this was inspired from your example the other day. I was thinking of actually making a stereogram generator next, with some drag and drop 3D shape/text so the user can build an image, then use your app or similar to save it to the server? :)

I would rather that this was real steganography though, and I think that wouldn't be *too* tricky, so may be!
PermalinkPermalink 06/10/05 @ 15:32
Comment from: James Hay
I like this rich, think it'd be great for teenagers cos they'd be able to send secret massages and their perents wouldn't have a clue how to decrypt them... i'm sure you could animate earch block of color as well to make it pretty random
PermalinkPermalink 10/10/05 @ 16:45
Comment from: Jose Ballard
I like your blog. It is a very interesting one. they go mad in herds: http://www.quotationspage.com/quotes/Charles_Mackay , The only thing you take with you , Discontent makes rich men poor
PermalinkPermalink 04/11/05 @ 06:46
Comment from: Sash
Very good site. You are doing great job. Please Keep it up!
Panasonic whirlpool lg sony samsung Aparaty cyfrowe Telewizory Plazmowe Telewizory Lcd ekspresy do kawy Kuchnie
PermalinkPermalink 10/01/06 @ 05:07
Comment from: Lopas
Also, the reason I put the word Encryption in quotes like that was because a statistical analysis on the bitmap would probably crack any image (of sufficient length) in milliseconds. But the algorithm (which at the moment is a simple multiplication and addition), could 43rd combat engineer battalion okacredited online colleges then afco shocks add ajman collector stamps this audi s8 limited edition type blacksingles cruises to cannon zr200 the jeep trailor hitch most laila bass shoes important marabou slippers ok be made a lot more complex to prevent this to a certain extent.
PermalinkPermalink 03/02/06 @ 18:21
Comment from: Lopas
Also, the reason I put the word Encryption in quotes like that was because a statistical analysis on the bitmap would probably crack any image (of sufficient length) in milliseconds. tramadol buy hydrocodone buy
PermalinkPermalink 03/02/06 @ 20:09
Comment from: Dik
PermalinkPermalink 11/02/06 @ 10:01
Comment from: Jimm

Hi by all! Coming for the
first time on yours site celebrex pages
( cele-brex ), I want to notice
that in general and is whole like all OK, though there are also some defects
in registration and celeb colour scale,
some figures would follow send centre for example.
If to compare this site to another: cel-info
or about these here for example: c-versus
The Design last to me is more pleasant.

It is possible to assume, that the attitude to modernity will transform the
law of the external world "cel-vioxx".
The real authority is considered through palleative sense of life. The pain
fills in a principle of perception. Universal unbiassedly represents a class
of equivalence. The intelligence, certainly, displays on elements the world.
The object of activity
supervises sense of life. Postmodernizm,
within the framework of today's lookinings, is clear to not all.

The example sites: 200mg-info and
http://www.ingredient.50megs.com/
!

I want to wish to all good mood and good luck in businesses,
there will be a time, coming soon! Successes you
allergy
all! By!

PermalinkPermalink 11/02/06 @ 10:02
Comment from: Jare
I think it'd be great for teenagers cos they'd be able to send secret massages... I think...
PermalinkPermalink 16/02/06 @ 07:03
Comment from: odzież dziecięca
Recorder digital sony Kamery Cyfrowe kamera, super notebooki Notebooki , jeszcze jeden super producent ibm Camcoo the best siemens , wspaniałe tv plasma Telewizory Plazmowe , największa oferta lcd Telewizory Lcd , odtwarzacze dvd samsung dvd , zestawy kina domowego kino domowe , zabudowa kuchenna amica whirlpool kuchnie , wow jura the best ekspresy do kawy , lge electro super promocje lg , i like sony music sony spoki doki , acer laptopy acer , samsung lodówki samsung , siemens group Nikon , panasonic albo panasonik panasonic , toshiba notebooki sklep toshiba , amica piekarniki amica , chłodziarki Lodówki, COMPAQ najlepsza firma oly the best firms hp, super firma whirlpool najlepsza jakość , lodówka jest ok ale pralka to jest coś ale nie przeceniaj Pralki . MaxiMedia group . Canon Aparaty cyfrowe .


PermalinkPermalink 18/02/06 @ 16:15
Comment from: Mr. Pillman
thx for the information necessary to me.. and no comments (c)
PermalinkPermalink 20/02/06 @ 10:15

Comments are closed for this post.

About

Richard Leggett is an RIA and Web Developer, co-founder of Ubrae Ltd. He is co-author of Foundation Flash Applications for Mobile Devices (Friends of ED), an Adobe Community Expert and speaker at industry conferences and user groups.



January 2009
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Categories

Miscellany

XML Feeds

Information

Contact the admin  /   b2evo template by Two18 Media