Function: message-canlock-generate
message-canlock-generate is a byte-compiled function defined in
message.el.gz.
Signature
(message-canlock-generate)
Documentation
Return a string that is non-trivial to guess.
Do not use this for anything important, it is cryptographically weak.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-canlock-generate ()
"Return a string that is non-trivial to guess.
Do not use this for anything important, it is cryptographically weak."
(sha1 (concat (message-unique-id)
(format "%x%x%x" (random) (random) (random))
(prin1-to-string (recent-keys))
(prin1-to-string (garbage-collect)))))