MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / EncryptionKey

Method EncryptionKey

src/crypto/EncryptionKey.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 namespace crypto {
11
12 EncryptionKey::EncryptionKey() : encryptionKey(generateRandomEncryptionKey()) {
13 // Intentionally left empty.
14 }
15
16 EncryptionKey::EncryptionKey(QByteArray const& encryptionKeyBytes) : encryptionKey(encryptionKeyBytes) {
17 if (encryptionKeyBytes.size() != getSizeOfEncryptionKeyInBytes()) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected