Skip to content

alexeylysenko/CryptFileDevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptFileDevice

Qt cross-platform class which allows transparently encrypt/decrypt QFileDevice using AES-CTR algorithm with OpenSSL library.

Dependencies

Name Version Comment
Qt >= 5.1.0 (supports Qt6 as well) adapted for Qt 6.2
C++ compiler supporting C++11 (i.e. gcc 4.6+)
OpenSSL >= 1.0.0 didn't test with older versions, but it may work

Usage

Copy 2 files (cryptfiledevice.cpp and cryptfiledevice.h) into your Qt project. See examples/ for examples on using this class.

In examples folder there are 2 example projects.

  1. CryptFileDeviceExample - test general operations with file and compare results with QFile object.

  2. WebViewWithCryptFileDevice - show how to display the user's encrypted content (image).

You can find the docker image ready to build & run CryptFileDeviceExample without any additional preparations here

Contact

Questions and suggestions can be sent to email: lysenkoalexmail@gmail.com

Contributing

Please report any suggestions, feature requests, bug reports, or annoyances to the Github issue tracker.

License

CrypFileDevice is licensed under MIT.

Thanks to

Special thanks to Ruslan Salikhov for testing and sensible suggestions.

Thanks to habrauser Disasm for suggestion.

About

Qt cross-platform class which allows transparently encrypt/decrypt QFileDevice using AES algorithm with OpenSSL library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages