Interesting things in Computer and Science

THIS BLOG I FIND ABOUT THINGS THAT INTERESTING IN COMPUTER, SCIENCE, CRYPTOGRAPHY, MATHEMATICS, AND MOSTLY IN NATURE

Monday, October 4, 2010

Logic with encryption

      Encryption was used in many field of historical. There are many ways to encryption not at all for using theorem or anyway it's just an idea and a little logic! I'll let you see easy example to encryption the word "CAREFUL" thinking to 3x3 table size for each characters then shade each hole with yellow similar to each characters (see below)


       Put number 1 to the shade hole and another hole that doesn't shade put any number 1 to 6 up to you, then you will get a table like the pic that I show. after that for confuse you should change some number to characters that about something such as Card's Sequence


      I think to A, Jack, Queen, King Cards in card's sequence A is 1, J is 11, Q is 12 and K is 13 before you change number to "A J Q K" you may using Caesar Cipher , n = 9 to shift an alphabet for 9 alphabet there will be "K T A U"  So your encryption is

How to encoding character DATA?

      The data encodings discussed have been for numerical representation of unsigned integers. It's text such as that printed on this page. The American Standard Code for Information Interchange (ASCII) is a 7 bits code used for encoding the Latin Alphabet.  ASCII contains ip-percase letters, lowercase letters, punctuation marks, numericals, printer control codes, and special symbols. However 8 bits are normally used to encode an ASCII character.


      From table upper "Hello World!" represent in ASCII is "0X48 0X65 0X6C 0X6C 0X6F 0X20 0X57 0X6F 0X72 0X6C 0X64 0X21" It's very easy! notice that the string contains a space character (0X20) and an exclamation mark "!" (0X21). Try to represent your name in ASCII ! Have Fun!