* @brief Encrypts the @arg plaintext string with the key the class was initialized */
| 160 | * @brief Encrypts the @arg plaintext string with the key the class was initialized |
| 161 | */ |
| 162 | QByteArray Licensing::SimpleCrypt::encryptToByteArray(const QString& plaintext) |
| 163 | { |
| 164 | QByteArray plaintextArray = plaintext.toUtf8(); |
| 165 | return encryptToByteArray(plaintextArray); |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * @brief Encrypts the @arg plaintext QByteArray with the key the class was |