Switched to libgcrypt
fixed fclose (close -> fclose)
faster prng
Included libgcrypt