Skip to content

nibblerenush/openssl-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openssl-wrapper

This is the object oriented wrapper library under OpenSSL libcrypto library.

Dependencies

  • openssl >= 1.0.2

Build

cmake <sources folder>

Using

It's necessary to call method Initialize before using other classes and methods.

Initialize();

RsaKey rsaKey;
rsaKey.GenerateKey();
rsaKey.SetPlaintext(plaintext);
rsaKey.Encrypt()
std::cout << "plaintext: " << GetAsciiString(plaintext) << '\n'
  << "ciphertext: " << GetHexString(rsaKey.GetCiphertext()) << std::endl;

About

openssl-wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published