Skip to content

@lelantos-org/sdk / primitives / expandSeed

Function: expandSeed() ​

ts
function expandSeed(rseed, rho): ExpandedSeed;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:60

The randomness of the output whose plaintext carries rseed and whose note has rho.

Parameters ​

ParameterType
rseedUint8Array
rhobigint

Returns ​

ExpandedSeed

Throws ​

when rseed is not 32 bytes or rho is not canonical.