MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / encryptToByteArray

Method encryptToByteArray

app/src/Licensing/SimpleCrypt.cpp:162–166  ·  view source on GitHub ↗

* @brief Encrypts the @arg plaintext string with the key the class was initialized */

Source from the content-addressed store, hash-verified

160 * @brief Encrypts the @arg plaintext string with the key the class was initialized
161 */
162QByteArray 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

Callers

nothing calls this directly

Calls 4

isEmptyMethod · 0.80
sizeMethod · 0.45
generateMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected