Jump to content

Idk if this is the proper place where I should post this,but I will give it a shot.

can someone tell me what's the difference between coding message and crypting message?Like in the movie Citizenfour when Edward Snowden used to send some coded messages which you see like symbols or just some random numbers and letters,but if you decode them,you see the original text...whats the difference between that and encrypted stuff?like Encrypted data,HDD

Link to comment
https://linustechtips.com/topic/930276-difference-between-crypting-and-coding/
Share on other sites

Link to post
Share on other sites

I'm going to assume you mean "encoding" vs. "encrypting", as "coding" is used out of context and "crypting" isn't really a word.

 

Encoding means converting data from one format into another. This a generic term and it can mean any piece of data. An example of this is encoding a raw video stream into a compressed one like H.264. Or taking a raw picture in as a grid of pixel values and turning it into a JPEG file.

 

Encrypting is a subset of encoding. It's still the same thing: converting data from one format into another. But it's specially crafted so that you need another piece of the puzzle to actually turn it back into its original form. With encoding, you just need to know the algorithm and its reverse (usually). With encrypting, along with the algorithm, you have a secret key of sorts that further scrambles the data. So even if you know the algorithm, you can't exactly get anything meaningful out of the encrypted data unless you have its key.

Link to post
Share on other sites

Technically there's a difference between enconding something and encrypting something, but they're often used interchangeably in the context of cryptography. Taken from this nice reference: https://danielmiessler.com/study/encoding-encryption-hashing-obfuscation/

Quote
  • Encoding is for maintaining data usability and can be reversed by employing the same algorithm that encoded the content, i.e. no key is used.
  • Encryption is for maintaining data confidentiality and requires the use of a key (kept secret) in order to return to plaintext.

 

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to post
Share on other sites

19 minutes ago, M.Yurizaki said:

I'm going to assume you mean "encoding" vs. "encrypting", as "coding" is used out of context and "crypting" isn't really a word.

 

Encoding means converting data from one format into another. This a generic term and it can mean any piece of data. An example of this is encoding a raw video stream into a compressed one like H.264. Or taking a raw picture in as a grid of pixel values and turning it into a JPEG file.

 

Encrypting is a subset of encoding. It's still the same thing: converting data from one format into another. But it's specially crafted so that you need another piece of the puzzle to actually turn it back into its original form. With encoding, you just need to know the algorithm and its reverse (usually). With encrypting, along with the algorithm, you have a secret key of sorts that further scrambles the data. So even if you know the algorithm, you can't exactly get anything meaningful out of the encrypted data unless you have its key.

I'd also like to add hashing, where you cannot reverse the string back into it's original form.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×