PxCrypt v0.2.2
Encrypt data within an image
|
The Encoder class is a base class from which all PxCrypt decoders derive in order to skim and decrypt data from the color channels of an encoded image.
#include <>>
Public Member Functions | |
virtual | ~Decoder () |
QByteArray | presharedKey () const |
void | setPresharedKey (const QByteArray &key) |
|
virtual |
Destroys the decoder.
QByteArray PxCrypt::Decoder::presharedKey | ( | ) | const |
Returns the key the encoder is configured to use for data scrambling.
void PxCrypt::Decoder::setPresharedKey | ( | const QByteArray & | key | ) |
Sets key used for scrambling the encoding sequence to key.
This key will be required in order to decode the resultant encoded data. An empty string results in the use of a known/default encoding sequence.