Some RNG improvments

- Seed jsbn rng with the CSPRNG when available
- Use H(message||privkey||random) for picking K for signatures