Use cryptographically strong random when generating keys.