Programming Search⌘K

Other modules, page 3 of 9

The entries of the 224 modules of the Zig reference that have fewer than 20 entries each, in the order of the module names. This page has 1,638 cards.

std.crypto.pwhash.bcrypt.bcrypt

pub fn bcrypt(password: []const u8, salt: *const [salt_length]u8, params: Params) [dk_length]u8

Compute a hash of a password using 2^rounds_log rounds of the bcrypt key stretching function. bcrypt is a computationally expensive and cache-hard function, explicitly designed to slow down exhaustive searches.

Kind
function
Module
std.crypto.pwhash.bcrypt

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.crypto.pwhash.bcrypt.strHash

pub fn strHash(password: []const u8, options: HashOptions, out: []u8, io: std.Io) Error![]const u8

Compute a hash of a password using 2^rounds_log rounds of the bcrypt key stretching function. bcrypt is a computationally expensive and cache-hard function, explicitly designed to slow down exhaustive searches.

Kind
function
Module
std.crypto.pwhash.bcrypt

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.crypto.pwhash.scrypt.kdf

pub fn kdf(allocator: mem.Allocator, derived_key: []u8, password: []const u8, salt: []const u8, params: Params) KdfError!void

Apply scrypt to generate a key from a password. scrypt is defined in RFC 7914. allocator: mem.Allocator. derived_key: Slice of appropriate size for generated key.

Kind
function
Module
std.crypto.pwhash.scrypt

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.crypto.tls.Client.init

pub fn init(input: *Reader, output: *Writer, options: Options) InitError!Client

Initiates a TLS handshake and establishes a TLSv1.2 or TLSv1.3 session. `host` is only borrowed during this function call. `input` is asserted to have buffer capacity at least `min_buffer_len`.

Kind
function
Module
std.crypto.tls.Client

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.debug.Dwarf.Unwind.initEhFrameHdr

pub fn initEhFrameHdr(header: EhFrameHeader, section_vaddr: u64, section_bytes_ptr: [*]const u8) Unwind

Initialize with unwind information from a header loaded from an `.eh_frame_hdr` section, and a pointer to the contents of the `.eh_frame` section. `.eh_frame_hdr` may embed a binary search table of FDEs.

Kind
function
Module
std.debug.Dwarf.Unwind

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.