require securerandom lib