Desafio Labsec (SGC)
Public Member Functions | List of all members
FifthMilestone Class Reference

Fifth Milestone - Asymmetric Encryption
More...

#include <FifthMilestone.h>

Public Member Functions

 FifthMilestone ()
 
virtual ~FifthMilestone ()
 
ByteArray encryptData (ByteArray &data, Pkcs12 &userP12)
 
ByteArray decryptData (ByteArray &data, Pkcs12 &userP12)
 

Detailed Description

Fifth Milestone - Asymmetric Encryption

At this point you should have read a little about asymmetric and symmetric cryptography. If you haven't done so, please refer to the Wikipedia website for a brief reading.

For this milestone you will implement data encryption using your public and secret key. The goal is to encrypt the plain text file (same one from milestone one). Understaning asymmetric encryption is the first step to understand Digital Signatures.

See also
libcryptosec/RSAPrivateKey
libcryptosec/RSAPublicKey
libcryptosec/AsymmetricCipher

SELF EVALUATION (Requires previous milstones to run)
In evaluation folder run '$make fifth'.
You need to implement the evaluation for this milestone.

Author
Lucas Perin

Constructor & Destructor Documentation

◆ FifthMilestone()

FifthMilestone::FifthMilestone ( )

Like any other C++ code, this one needs little hack.

◆ ~FifthMilestone()

FifthMilestone::~FifthMilestone ( )
virtual

Member Function Documentation

◆ decryptData()

ByteArray FifthMilestone::decryptData ( ByteArray &  data,
Pkcs12 &  userP12 
)

TODO Implement this function in the cpp file.

TODO(milestone5)

◆ encryptData()

ByteArray FifthMilestone::encryptData ( ByteArray &  data,
Pkcs12 &  userP12 
)

TODO Implement this function in the cpp file.

TODO(milestone5)


The documentation for this class was generated from the following files: