- for a FREE 30-Day Trial

eBusiness Help
Print just what you need - with smaller print runs at long run unit prices
Faster Turnarounds - No Middlemen
Pay no set up fee and get 1 month free on all dedicated servers
Until May 31st ientry readers
Free CRM Whitepaper
Get the latest CRM strategies

Free Software Archive:
Enterprise and Home Networking Downloads

WebProWorld Dev Forum

Encrypted FormMail
What is the best way to secure or encrypt FormMail to protect the website visitor's information? Incidentally, this particular HTML form does not ask for credit card numbers or anything that sensitive.

301-redirect
Would you tell me how to do a redirect? We have to change few pages in our HP, and need new URLs for them. However, is redirect actually the best way? I ask this, because my webmaster is not very helpful nor reliable, so I have to do it by myself.

Missing Code
The current result I have takes the customer directly to the cart when they click add to cart. The result I want is for the "Add To Cart" button to just add the product to the cart and leave the customer on the same page they are shopping from.



Recent Articles

How the BigDecimal Class Helps Java get its Arithmetic Right
When you use Java for simple business arithmetic, you may be surprised to discover that Java doesn't always produce the right answers. If, for example, you use the double data type for an invoice's subtotal...

Speed Up Your Application Development In Macromedia's ColdFusion MX 7.0
Macromedia announced their release of Coldfusion's latest version on February 7, 2005. This latest version is ColdFusion MX 7.0 clearly offers several important new features and useful improvements on its existing ones.

Bored By Microsoft
Scott Koon is bored by all the stuff he saw come out of Microsoft's WinHEC gathering yesterday. I can understand that.

Microsoft Releases Newest Visual Studio and SQL Server
Microsoft announced availability of Visual Studio 2005 Beta 2, Microsoft .NET Framework 2.0 Beta 2 and the SQL Server 2005 April Community Technology Preview (CTP).

Microsoft Great Plains eCommerce: Overview for Developer
Microsoft Business Solutions Great Plains was designed back in the early 1990s as the first graphical ERP/accounting system for mid-size businesses.

Connecting and Accessing Data through ADO.NET
Microsoft's ADO.NET technology offers a solution to many of the problems associated with data access.

Meet the Community at OSBC
Panel with Brian Behlendorf from Apache/Collabnet, Josh from PostgreSQL, Chris Hoffman from Mozilla, Larry Wall from Perl and David Wheeler from Bricolage.

05.18.05


A Gentle Introduction To Cryptography

By 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.

Snapp MX - Develop at the Speed of Thought >>
Web Applications without Coding & Scripting

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 5192296858534827 628530496329220095. 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 15792089237316195423570 98500868790785326998466564 0564039457584007913129639935. This number is the same as the estimated number of atoms in the universe.

Read the Rest of the Article.

About the Author:
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 and numerous free stuff. © Copyright 2005, Stan Seecrets. All rights reserved

About DevNewz
DevNewz has assembled experts around the world to deliver helpful advice to application developers. Our in-house news staff focuses on keeping you updated with the latest new software and trends in application development. DevNewz provides Knowlege For Application Developers.

DevNewz is brought to you by:

SecurityConfig.comNetworkingFiles.com
NetworkNewz.comWebProASP.com
DatabaseProNews.comSQLProNews.com
ITcertificationNews.comSysAdminNews.com
LinuxProNews.comWirelessProNews.com
CProgrammingTrends.comITmanagementNews.com



-- DevNewz is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2005 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article




Knowlege For Application Developers DevNewz News Archives About Us Feedback DevNewz Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact