iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Seecrets On Security: A Gentle Introduction To Cryptography

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Stan Seecrets

With the increasing incidence of identity thefts, credit card frauds, social engineering attacks, the digital world is facing challenges in the years ahead. Obviously, cryptography, a young science, will play a prominent role in the security of protecting digital assets. This article tries to explain the basics of cryptography (encryption) using plain language.

Let us take the example of scrambling an egg. First, crack the shell, pour the contents into a bowl and beat the contents vigorously until you achieved the needed result - well, a scrambled egg. This action of mixing the molecules of the egg is encryption. Since the molecules are mixed-up, we say the egg has achieved a higher state of entropy (state of randomness). To return the scrambled egg to its original form (including uncracking the shell) is decryption. Impossible?

However, if we substitute the word “egg” and replace it with “number”, “molecules” with “digits”, it is POSSIBLE. This, my friend, is the exciting world of cryptography (crypto for short). It is a new field dominated by talented mathematicians who uses vocabulary like "non-linear polynomial relations", "overdefined systems of multivariate polynomial equations", "Galois fields", and so forth. These cryptographers uses language that mere mortals like us cannot pretend to understand.

In the computer, everything stored are numbers. Your MP3 file is a number. Your text message is a number. Your address book is a longer number. The number 65 represents the character "A", 97 for the small "a", and so on.

For humans, we recognize numbers with the digits from 0 to 9, where else, the computer can only recognize 0 or 1. This is the binary system which uses bits instead of digits. To convert bits to digits, just simply multiply the number of bits by 0.3 to get a good estimation. For example, if you have 256-bits of Indonesian Rupiah (one of the lowest currency denomination in the world), Bill Gates’ wealth in comparison would be microscopic.

The hexadecimal (base 16) system uses the ten digits from 0 to 9, plus the six extra symbols from A to F. This set has sixteen different “digits”, hence the hexadecimal name. This notation is useful for computer workers to peek into the "real contents" stored by the computer. Alternatively, treat these different number systems as currencies, be it Euro, Swiss Franc, British Pound and the like. Just like an object can be priced with different values using these currencies, a number can also be "priced" in these different number systems as well.

To digress a bit, have you ever wondered why you had to study prime numbers in school? I am sure most mathematics teachers do not know this answer. Answer: A subbranch called public-key cryptography which uses prime numbers especially for encrypting e-mails. Over there, they are talking of even bigger numbers like 2048, 4096, 8192 bits.)

When we want to encrypt something, we need to use a cipher. A cipher is just an algorithm similar to a recipe for baking a cake. It has precise, unambiguous steps. To carry out the encryption process, you need a key (some called it passphrase). A good practice in cryptography needs the key used by a cipher must be of high entropy to be effective.

Data Encryption Standard (DES), introduced as a standard in the late 1970's, was the most commonly used cipher in the 1980's and early 1990's. It uses a 56-bit key. It was broken in the late 1990’s with specialized computers costing about US$250,000 in 56 hours. With today's (2005) hardware, it is possible to crack within a day.

Subsequently, Triple-DES superseded DES as the logical way to preserve compatibility with earlier investments by big corporations (mainly banks). It uses two 56-bit key using three steps:-

1. Encrypt with Key 1.
2. Decrypt with Key 2.
3. Encrypt with Key 1.

The effective key length used is only 112-bits (equivalent to 34 digits). The key is any number between 0 and 5192296858534827628530496329220095. Some modify the last process using Key 3, making it more effective at 168-bit keys.

Advanced Encryption Standard (AES) was adopted as a standard by the National Institute of Standards & Technology, U.S.A. (NIST) in 2001. AES is based on the Rijndael (pronounced "rhine-doll") cipher developed by two Belgian cryptographers, Victor Rijmen and Joan Daemen. Typically, AES uses 256-bits (equivalent to 78 digits) for its keys. The key is any number between 0 and 15792089237316195423570985008687907853269984665640564039457584007913129639935. This number is the same as the estimated number of atoms in the universe.

The National Security Agency (NSA) approved AES in June 2003 for protecting top-level secrets within US governmental agencies (of course subject to their approval of the implementation methods). They are reputedly the ones that can eavesdrop on all telephone conversations going on around the world. Besides, this organization is recognized to be the largest employer of mathematicians in the world and may be the largest buyer of computer hardware in the world. The NSA probably have cryptographic expertise many years ahead of the public and can undoubtedly break many of the systems used in practice. For reasons of national security, almost all information about the NSA - even its budget is classified.

A brute force attack is basically to use all possible combinations in trying to decrypt encrypted materials.

A dictionary attack usually refers to text-based passphrases (passwords) by using commonly used passwords. The total number of commonly used passwords is surprisingly small, in computer terms.

An adversary is somebody, be it an individual, company, business rival, enemy, traitor or governmental agency who would probably gain by having access to your encrypted secrets. A determined adversary is one with more "brains" and resources. The best form of security is to have zero adversary (practically impossible to achieve), the next best is to have zero determined adversary!

A keylogger is a software program or hardware to capture all keystrokes typed. This is by far the most effective mechanism to crack password-based implementations of cryptosystems. Software keylogger programs are more common because they are small, work in stealth-mode and easily downloaded from the internet. Advanced keyloggers have the ability to run silently on a target machine and remotely deliver the recorded information to the user who introduced this covert monitoring session. Keystroke monitoring, as everything else created by man, can either be useful or harmful, depending on the monitor’s intents. All confidential information which passes through the keyboard and reaches the computer includes all passwords, usernames, identification data, credit card details, and confidential documents (as they are typed).

For the last definition, we will use an example. Let's say you have your house equipped with the latest locks, no master keys and no locksmith can tamper with them. Your doors and windows are unbreakable. How then does an adversary get into your house without using a bulldozer to break your front door? Answer: the roof - by removing a few tiles, the adversary can get into your house. This is an exploit (weakness point). Every system, organization, individual has exploits.

See, it is not that difficult after all. If you can understand the material presented in this article, congratulations - you have become crypto-literate (less than 1% of all current computer users). If you do not believe me, try using some of this newfound knowledge on your banker friends or computer professionals.

Stan Seecrets’ Postulate: “The sum total of all human knowledge is a prime number.”

Corollary: “The sum total of all human wisdom is not a prime number.”

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

The author, Stan Seecrets, is a veteran software developer with 25+ years experience at (http://www.seecrets.biz) which specializes in protecting digital assets. This site provides quality software priced like books, free-reprint articles on stock charts and computer security, free downloads. © Copyright 2005, Stan Seecrets. All rights reserved.
Article Tags: computer [See Dictionary], key [See Dictionary], number [See Dictionary]
Got a question about this article? Ask the community!
Article published on May 26, 2005 at Isnare.com
 
Rate this article:

Seecrets On Security: A Gentle Introduction On Cryptography Part 2
Submitted by: Stan Seecrets

The recent explosive growth of PC’s and Internet-based commerce has significantly increased the need for a wide variety of computer security mechanisms...

How to Prevent the Noise on Your Car Stereo
Submitted by: Jack Wylde

If you do not know or cannot comprehend what that term means “noise” from your car audio system then you perhaps don’t own a car audio system yet...

Relationship With an it Solution Provider?
Submitted by: Lawrence J. Reaves

IT budgets are tight, in fact SMB’s are only reporting a 56% increase in budgets (before inflation) for the next 4 years (2009 to 2013)...

Easy Tips on How to Purchase a Cheap Laptop?
Submitted by: Seomul Evans

Ah yes, I want a laptop computer but I'm not going to spend few 1000 dollars for one Well guess what you do not have to...

Choosing a Refrigerator For Kegerator Conversions
Submitted by: Felicia Jenkins

For those who are not in the know a kegerator is a beer dispensing device The keg is kept under refrigerated conditions to keep it chilled...

GBC CombBind C55 Review
Submitted by: Jeff McRitchie

GBC is one of the leading manufacturers of plastic comb binding machines They make both entry-level and advanced machines with units available in every imaginable price bracket...

Reviewing the GBC Comb Bind C95e Electric Comb Binding System
Submitted by: Jeff McRitchie

If you need an electric comb binding machine for your small office, the GBC CombBind C95e is definitely a machine you may want to consider...

Reviewing the GBC Comb Bind C340 Comb Binding Machine
Submitted by: Jeff McRitchie

The GBC CombBind C340 plastic comb binding machine is a relatively new product from the company, which still has the market cornered when it comes to binding machines...

Reviewing the GBC C450e Comb Binding Machine
Submitted by: Jeff McRitchie

When it comes to plastic comb binding machines, it's hard to go wrong with a machine from General Binding Corporation (GBC)...

GBC GL Shredmaster Paper Shredders - Tough Machines For Tough Jobs
Submitted by: Jeff McRitchie

Document security is a very hot topic these days due to the rise in identity theft and the appearance of federal privacy laws such as the Health Insurance Portability and Accountability Act (HIPPA) and the Fair and Accurate Credit Transactions Act (FACTA)...

GBC HeatSeal H100 Laminator Review
Submitted by: Jeff McRitchie

As a reasonably priced small pouch laminator, the HeatSeal H100 is designed for use in home offices or small businesses that occasionally need to laminate small items such as ID cards...

GBC HeatSeal H110 Laminator Review
Submitted by: Jeff McRitchie

If you're looking for a new laminator and you frequently laminate a lot of small items such as business cards, photographs, and bookmarks, you're reading the right review...

GBC HeatSeal H210 Laminator Review
Submitted by: Jeff McRitchie

The GBC HeatSeal H210 is one of the manufacturer's entry-level pouch laminating machines, intended for use by small and/or home offices...

A Review of the GBC HeatSeal H212 Laminator
Submitted by: Jeff McRitchie

Do you need an affordable, easy-to-use laminator for home or office use If so, you're reading the right review because the GBC HeatSeal H212 laminator could be just what you need...

Ways a Camera Phone Can Help in an Emergency
Submitted by: Seomul Evans

In an emergency you will require to allow and welcome help, and later it is over, you will have to return, repair, and rebuild...

Facts About Cell Phones Health Risks?
Submitted by: Seomul Evans

Through the long time, there have been so many rumors concerning the wellness risks of cell phones But we are a society that would almost rather die, than give them up...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy