qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches

Cryptographic utilities for the QB IO library. More...

#include <algorithm>
#include <cmath>
#include <iomanip>
#include <istream>
#include <openssl/aes.h>
#include <openssl/buffer.h>
#include <openssl/ec.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/md5.h>
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/sha.h>
#include <optional>
#include <random>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <array>
Include dependency graph for crypto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  qb::crypto
 Provides cryptographic operations and utilities. More...
class  qb::crypto::base64
 Base64 encoding and decoding utilities. More...
struct  qb::crypto::Argon2Params
 Parameters for the Argon2 algorithm. More...

Detailed Description

Cryptographic utilities for the QB IO library.

This file provides cryptographic functionality using the OpenSSL library. It includes support for common cryptographic operations such as hashing (MD5, SHA1, SHA256, SHA512), base64 encoding/decoding, random string generation, and key derivation (PBKDF2).

The implementation is encapsulated in the crypto class, which provides both static methods for direct use and nested classes for specific cryptographic operations.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.