[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UUIDGEN in lisp
From: |
Jesper Harder |
Subject: |
Re: UUIDGEN in lisp |
Date: |
Sat, 14 Feb 2004 05:05:14 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Brad Collins <brad@studiojungle.net> writes:
> I think it would be generally helpful to have a generic unique id
> generator for a number available for any application but I'm not
> sure if this has already been done or not.
>
> Any ideas?
Concat some strings that should identify the user -- uid, pid,
system-name etc. -- plus some random stuff, and take a hash?
Something like:
(md5 (format "%s%s%s%s%s%s%s%s"
(user-uid)
(emacs-pid)
(system-name)
(user-full-name)
user-mail-address
(current-time)
(random)
(recent-keys)))
- UUIDGEN in lisp, Brad Collins, 2004/02/13
- Re: UUIDGEN in lisp,
Jesper Harder <=
- Re: UUIDGEN in lisp, Brad Collins, 2004/02/14
- Message not available
- Message not available
- Re: UUIDGEN in lisp, Jesper Harder, 2004/02/15
- Re: UUIDGEN in lisp, Eli Zaretskii, 2004/02/16
- Re: UUIDGEN in lisp, Brad Collins, 2004/02/16
- Message not available
- Re: UUIDGEN in lisp, Jesper Harder, 2004/02/16
- Re: UUIDGEN in lisp, Eli Zaretskii, 2004/02/16
- Message not available
- Re: UUIDGEN in lisp, Jesper Harder, 2004/02/16