diff options
Diffstat (limited to 'contrib/pgcrypto/README.pgcrypto')
| -rw-r--r-- | contrib/pgcrypto/README.pgcrypto | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/pgcrypto/README.pgcrypto b/contrib/pgcrypto/README.pgcrypto index c79f996a324..ba6c3fd8374 100644 --- a/contrib/pgcrypto/README.pgcrypto +++ b/contrib/pgcrypto/README.pgcrypto @@ -9,10 +9,12 @@ INSTALLATION Edit makefile, if you want to use any external library. -NB! Default randomness source is /dev/urandom device. If you -do not have it, you also need to edit Makefile to let pgcrypto -use either OpenSSL PRNG or libc random() PRNG. Using libc random() -is discouraged. +NB! Default randomness source is libc random() function. This +is so only to get pgcrypto build everywhere. Randomness is +needed for gen_salt() function. So if you plan using it, you +should definitely change that by editing Makefile. You should +be using urandom device if your OS supports it, otherwise link +pgcrypto against OpenSSL library and use its PRNG. After editing Makefile: |
