Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Also, how does encapsulation links with abstraction
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.
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
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.