Function ecvrf::keygen[][src]

pub fn keygen() -> (VrfSk, VrfPk)

Generates a crypto-safe secret key using OsRng and the corresponding public key into a tuple