(export-random) -> string
(export-random random) -> string
export-random provides a way to gather the current internal state from a <random> object as a string; this permits the conservation of precious entropy, as described elswhere in the LibTomCrypt manual.
Note that export-random is not capable of saving sufficient state information to permit a pseudorandom number generator's state to be completely restored; just sufficient data is stored to provide a decent source of entropy after a possible application restart.
If no random argument is given, *default-random* is used.
Example:
>> (export-random) :: "]???vY? ?u?)???SEE?\?>A??]L?V]???vY? ?u?)???SEE?\?>A??]L?Vi?s?{R?????;P->?N??2??Ϲ??i?s? {R?????;P->?N??2??Ϲ??i?s???;P->?N??2??Ϲ??i?s?{R????? ;P->?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->? N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N ??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->? N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N? ?2???i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N??2?? Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ?? i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s ???;P->?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R????? ;P->?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P- >?N??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N ??2??Ϲ??i?s?{R?????;P->?N??2??Ϲ??i?s?{R?????;P->?N??2 ??Ϲ??i?s?{R?????;P->?N??2???i?s?{R?????;P->?N??2??Ϲ?? ?Ѕ?txZ?ﳠ>N^$?y??]????G?,?"
See also:
*default-random*, <random>, add-entropy, import-random, make-random, random-algorithm, random-integer, random-quad, and random-string