Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the difference between encapsulation and encryption?

Also, how does encapsulation links with abstraction

user-image
Question ajoutée par Nii Mensah Ashrifie
Date de publication: 2016/06/28
kamran akhtar
par 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
par 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
par 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
par ahmed elkhalfani , منمق , رينو

 cost management is the reason behind cost saving   

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?