SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
vcryptpp::VFONT Namespace Reference

Functions

std::vector< std::byte > encrypt (std::span< const std::byte > data, uint8_t saltLength=2)
std::vector< std::byte > decrypt (std::span< const std::byte > data)

Variables

constexpr std::string_view SIGNATURE = "VFONT1"
constexpr uint8_t MAGIC = 167

Function Documentation

◆ decrypt()

std::vector< std::byte > vcryptpp::VFONT::decrypt ( std::span< const std::byte > data)
nodiscard

Definition at line 42 of file VFONT.cpp.

◆ encrypt()

std::vector< std::byte > vcryptpp::VFONT::encrypt ( std::span< const std::byte > data,
uint8_t saltLength = 2 )
nodiscard

Definition at line 11 of file VFONT.cpp.

Variable Documentation

◆ MAGIC

uint8_t vcryptpp::VFONT::MAGIC = 167
constexpr

Definition at line 14 of file VFONT.h.

◆ SIGNATURE

std::string_view vcryptpp::VFONT::SIGNATURE = "VFONT1"
constexpr

Definition at line 12 of file VFONT.h.