Detect if `pg_crypto` in Postgres was built with strong random feature enabled
3
votes
2
answers
297
views
The source code for pg_crypto module mentions an option to build without cryptographically-strong random generation.
>/*
>
> * Generate random bits. pg_backend_random() will do here, we don't promis
>
> * UUIDs to be cryptographically random, when built with
>
> * --disable-strong-random.
>
> */
Discussed further in this thread .
In the particular build I may be using, how can I **detect if the strong random feature is enable or disabled**?
Asked by Basil Bourque
(11188 rep)
Jun 28, 2017, 04:12 AM
Last activity: Jun 30, 2017, 05:23 AM
Last activity: Jun 30, 2017, 05:23 AM