Programming Search⌘K

std.crypto.ecc.Edwards25519

The entries of std.crypto.ecc.Edwards25519 in the Zig reference. This page has 23 cards.

std.crypto.ecc.Edwards25519.fromString

pub fn fromString(comptime random_oracle: bool, ctx: []const u8, s: []const u8) Edwards25519

Hash a context `ctx` and a string `s` into an Edwards25519 point This function implements the edwards25519_XMD:SHA-512_ELL2_RO_ and edwards25519_XMD:SHA-512_ELL2_NU_ methods from the "Hashing to Elliptic Curves" standard document.

Kind
function
Module
std.crypto.ecc.Edwards25519

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

std.crypto.ecc.Edwards25519.mulMulti

pub fn mulMulti(comptime count: usize, ps: [count]Edwards25519, ss: [count][32]u8) (IdentityElementError || WeakPublicKeyError)!Edwards25519

Multiscalar multiplication *IN VARIABLE TIME* for public data Computes ps0*ss0 + ps1*ss1 + ps2*ss2... faster than doing many of these operations individually.

Kind
function
Module
std.crypto.ecc.Edwards25519

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