[GENERAL] Good random numbers in PG? And crypto-wishlist

2001-07-25 Thread Dr. Evil
I'm writing an application that requires cryptographicly-sound random decimal digits in PG. One way to do this is with a plain old hash like SHA1. The problem is that this produces a 20 byte string, when what I want is a digit from 0 to 9. One thing I could do is take this 20 byte string, and

Re: [GENERAL] Good random numbers in PG? And crypto-wishlist

2001-07-25 Thread Martijn van Oosterhout
On Thu, Jul 26, 2001 at 05:02:30AM -, Dr. Evil wrote: file that PG uses would be fantastic. Some of us are storing some valuable data in these things, and basically none of the free OSes support file system encryption in a way that doesn't suck. I know everyone will say, do it at the FS