Skip to contents

Phase 3JJJ2. Generates a post-quantum signature keypair. Sizes: pk = 1952 bytes, sk = 4032 bytes.

Usage

morie_crypto_mldsa65_keygen()

Value

List with pk (raw, 1952 B) and sk (raw, 4032 B).

Examples

if (morie_crypto_liboqs_available()) {
  kp <- morie_crypto_mldsa65_keygen()
  length(kp$pk)  # 1952 (FIPS 204)
  length(kp$sk)  # 4032
}