Jun 16th update

This commit is contained in:
noam
2023-01-17 11:34:09 +02:00
parent 90bcc544a2
commit ad04b8d063
168 changed files with 64034 additions and 932 deletions

View File

@@ -35,6 +35,9 @@ class Encryptor::Impl : Singleton::Provide<I_Encryptor>::From<Encryptor>
// Obfuscating
string obfuscateXor(const string &input) override;
string obfuscateXorBase64(const string &input) override;
private:
};
string
@@ -68,6 +71,7 @@ Encryptor::Impl::obfuscateXorBase64(const string &input)
return base64Encode(obfuscated);
}
void
Encryptor::preload()
{

View File

@@ -83,3 +83,4 @@ TEST_F(EncryptorTest, XORBase64Encrypt)
i_encryptor->obfuscateXorBase64(string("\x0b\x2d\x29\x2f\x24\x70\x18\x26\x3c\x38\x27\x69")), "SGVsbG8gV29ybGQh"
);
}