Encoding vs Encryption

Although these are most basic concepts for security, it’s not uncommon hear people using these two terms interchangeably.
Encoding : Convert data to some other representation –so that it abides by target expectation/protocol. Data transported over HTTP, FTP, compressed files –all are encoded , such that, on arriving at target, HTTP protocol, FTP protocol and compression utility get data in which they can process.
Encryption can be as simple as “Reorganizing” the data –Adding some header, footer etc. or it could be conversion of character to some format –But the intent is not “securing” Data.

Encryption: Encryption could be encoding, but not vice versa. Intent is secure transfer –only intended recipient can decipher the data. It could be just simple encoding or it could use complex cipher algorithm and keys to abide by encryption.

About ChandanPandey

Try to come up with a good design as by product of good coding practices

Posted on May 25, 2011, in Java security and tagged , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: