dcrypt ~master (2021-11-09T01:25:37.6069118)
Dub
Repo
WOTS.pkgen
dcrypt
pqc
sphincs
wots
WOTS
Generate a public key.
template
WOTS
(uint n, alias hash_n_n, alias prg, uint log_w)
package @
safe
@
nogc
pure nothrow
H
[
l
]
pkgen
(
in
ref
ubyte
[
seed_bytes
]
sk
,
in
H
[]
masks
)
if
(
is_hash_n_n
!
hash_n_n
&&
is_prg
!(
prg
,
seed_bytes
)
&&
n
% 8 == 0
)
Return Value
Type:
H
[
l
]
The public key derived from sk and masks.
Meta
Source
See Implementation
dcrypt
pqc
sphincs
wots
WOTS
functions
pkgen
sign
verify
manifest constants
l
log_l
sig_bytes
w
Generate a public key.