37 #ifndef VIRGIL_CIPHER_H
38 #define VIRGIL_CIPHER_H
42 #include "VirgilCipherBase.h"
43 #include "VirgilByteArray.h"
45 namespace virgil {
namespace crypto {
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
This class provides high-level interface to encrypt / decrypt data using Virgil Security keys...
Definition: VirgilCipher.h:50
VirgilByteArray encrypt(const VirgilByteArray &data, bool embedContentInfo=true)
Encrypt given data.
Provides symmetric ciphers algorithms.
Definition: VirgilSymmetricCipher.h:52
VirgilByteArray decryptWithKey(const VirgilByteArray &encryptedData, const VirgilByteArray &recipientId, const VirgilByteArray &privateKey, const VirgilByteArray &privateKeyPassword=VirgilByteArray())
Decrypt given data for recipient defined by id and private key.
VirgilByteArray decryptWithPassword(const VirgilByteArray &encryptedData, const VirgilByteArray &pwd)
Decrypt given data for recipient defined by password.
This class provides configuration methods to all Virgil*Cipher classes.
Definition: VirgilCipherBase.h:61