Function init [src]

The seed must be uniform, secret and secret_seed_length bytes long.

Prototype

pub fn init(secret_seed: [secret_seed_length]u8) Self

Parameters

secret_seed: [secret_seed_length]u8

Source

pub fn init(secret_seed: [secret_seed_length]u8) Self { var self = Self{ .state = Ascon.initXof() }; self.addEntropy(&secret_seed); return self; }