Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the difference between encapsulation and encryption?

Also, how does encapsulation links with abstraction

user-image
Question added by Nii Mensah Ashrifie
Date Posted: 2016/06/28
kamran akhtar
by kamran akhtar , Senior Web Developer , TechFas technolgies

Encapsulation means Wrapping or method in which data is encapsuled into a single frame.

and 

Encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key.

Muhammad Imran Khan Imran
by Muhammad Imran Khan Imran , Software Engineer , Pakistan Testing Services

Encapsulation involves wrapping the data in some type of packaging. Normally a header and trailer.

 

Encryption is simply changing the data. The data change in to other form like tha ASCII code etc

faeik  zuber
by faeik zuber , مدير الادارة + مسؤل GPS , manafis co

Encapsulation involves wrapping the data in some type of packaging. Normally a header and trailer. Encryption is simply changing the data. So encapsulation - The boy (whom we saw yesterday) walked away. Whom we saw yesterday has been encapsulated

Encapsulation basically about hiding the state of object with the help of modifiers like private,public,protected etc. we expose the state thru public methods only if require.

 

Encryption is the conversion of electronic data into another form, which cannot be easily understood by anyone except authorized persons.

ahmed  elkhalfani
by ahmed elkhalfani , منمق , رينو

 cost management is the reason behind cost saving   

More Questions Like This