referrerpolicy=no-referrer-when-downgrade

Function random_seed

Source
pub fn random_seed() -> <AllocateAndReturnPointer<[u8; 32], 32> as RIType>::Inner
Expand description

Returns a random seed.

This is a truly random, non-deterministic seed generated by host environment. Obviously fine in the off-chain worker context.