seed
seed():
never
Defined in: src/secure.ts:32
Always throws: a secure generator must not be made reproducible.
Present so the mistake fails loudly at the call site instead of quietly producing predictable secrets.
Returns
Section titled “Returns”never
Example
Section titled “Example”try { seed(42);} catch (error) { error.code; // "UNSEEDABLE_ENGINE"}
// Import from "ransu" when you want reproducible values.