[][src]Function winternitz_ots::wots::generate_wots

pub fn generate_wots() -> Wots

Generate Default W-OTS Keypair

This function is the main function that allows you to generate a W-OTS Keypair used to sign up to 32bytes (256bits) and constructs the Wots struct.

  • w: Winternitz Parameter (16)
  • n: Digest Size in Bytes (32)
  • sk: Secret Key as a vector of hexadecimal
  • pk: Public Key as a vector of hexadecimal