Switched to /dev/random instead of time(NULL) in secrets.c