Function: uuid--random-bits

uuid--random-bits is a byte-compiled function defined in uuid.el.gz.

Signature

(uuid--random-bits N &optional RNG)

Documentation

Return a random number with N bits.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/uuid.el.gz
(defun uuid--random-bits (n &optional rng)
  "Return a random number with N bits."
  (funcall (or rng #'random)
           (expt 2 n)))