qb
2.0.0.0
C++17 Actor Framework
|
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>
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... |
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.
http://www.apache.org/licenses/LICENSE-2.0
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.