Constructors
Properties
Accessors
bytes
- get bytes(): Uint8Array
Returns Uint8Array
hex
- get hex(): string
Returns string
length
- get length(): number
Returns number
Methods
adaptForMore
- adaptForMore(seed, messageCount): PSSecretKey
Parameters
- seed: Uint8Array
- messageCount: number
supportedMessageCount
- supportedMessageCount(): number
Returns number
Static
dealShamirSS
- dealShamirSS(messageCount, threshold, total): [PSSecretKey, PSSecretKey[]]
Parameters
- messageCount: number
- threshold: number
- total: number
Static
generate
- generate(messageCount, seed?): PSSecretKey
Parameters
- messageCount: number
Optional
seed: Uint8Array
Secret key for modified Pointcheval-Sanders signature scheme used in
Coconut
.