Skip to content

joey-astrologo/Defusepp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defusepp

About

This is a C++ translation of defuse's php-encryption library available here. Please refer to their page for a more detailed description.

How to use

This library is pretty simple to use. Just make a secret key using the provided function, keep that key to encrypt and decrypt your data. Exceptions must be caught in order for this library to function correctly! I tried to only allow exceptions that the user could encounter as long as the default constants aren't played around with.

Example

Code:

string secretKey = Encryption::createNewRandomKey();

//TO-DO Finish library

Output:

Secret Key: +IGfyaa3jQzXo3JOi7WXRg==
Cool uncle Stu balls.
PgenoeWGzf6nMIy+PUEMPObPeeiMp0e2TxbS69ttEhtSDLo2AReSu7/VQ3hPsuqXxg2apHMXH0ggoySZHrgkXCTGKNqbed1IRcui0dNuZ/A=
Cool uncle Stu balls.

About

This is a C++ implementation of the wonderful DefusePHP available here https://github.com/defuse/php-encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages