SavvyUI C++ UI Library
Loading...
Searching...
No Matches
Encryption.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4using namespace std;
5
15{
16public:
17
25 static wstring encrypt(const wstring& input, const wstring& key);
26
34 static wstring decrypt(const wstring& input, const wstring& key);
35
36 static string base64_encode(const string& in);
37 static string base64_decode(const string& in);
38};
Provides static methods for encrypting and decrypting wide strings.
Definition Encryption.h:15
static string base64_encode(const string &in)
static wstring encrypt(const wstring &input, const wstring &key)
Encrypts the given input string using the specified key.
static wstring decrypt(const wstring &input, const wstring &key)
Decrypts the given encrypted string using the specified key.
static string base64_decode(const string &in)