From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Adding sha256 and sha512 to C? Date: Sat, 11 Jun 2011 22:36:22 +0200 Message-ID: References: <19936.26998.559386.371174@priss.frightenedpiglet.com> <4DE072EE.4030303@cs.ucla.edu> <83mxi7b82v.fsf@gnu.org> <838vt8bxwh.fsf@gnu.org> <834o3wbdbw.fsf@gnu.org> <4DF3919C.9070907@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307824837 11707 80.91.229.12 (11 Jun 2011 20:40:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2011 20:40:37 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, sand@blarg.net, monnier@iro.umontreal.ca, Leo To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 11 22:40:33 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVUyu-0000SU-PL for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2011 22:40:32 +0200 Original-Received: from localhost ([::1]:51500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVUyt-0007gG-OX for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2011 16:40:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVUvb-0007Bh-Ey for emacs-devel@gnu.org; Sat, 11 Jun 2011 16:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVUva-0006zs-9y for emacs-devel@gnu.org; Sat, 11 Jun 2011 16:37:07 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:53109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVUvX-0006za-Dz; Sat, 11 Jun 2011 16:37:03 -0400 Original-Received: by qwa26 with SMTP id 26so2435468qwa.0 for ; Sat, 11 Jun 2011 13:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VFyBN0QbFPMQdC1eOjpzfXSG7YrOEhBj0y+KDvFYNUA=; b=ltbUhTfU3ZMOZkhG9YDxQoc15ytFja86jXIMo1n/G7HFDW9/8HW8W65opdHkfE1AYZ F3qiB/pll7MmH1E3bRPb7kHl+iV8WFddayZzPUnAI/8ioS5VtjqoXy7gEMnFxOeDgC0C 6Sl/cH1WSZBswMP+MzdLIxpC/2qxUfunjS96I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=npYJgLOTfIL6uHt5SENtThkl/mR7zB1+C7DCIk1QqlD0eQgJo6icffyJvnOsaIUe+S jyl+1iTfwa1cVzAfrUaiCoXfmE1nhKj+LChH6p72updT03xrZa/5PyC5yL5iFQjG4xaz vfkruOIgNtaTZXV8Y8WV4ZBkKuqt2u6PEeWLs= Original-Received: by 10.224.195.1 with SMTP id ea1mr2776823qab.216.1307824622169; Sat, 11 Jun 2011 13:37:02 -0700 (PDT) Original-Received: by 10.229.181.195 with HTTP; Sat, 11 Jun 2011 13:36:22 -0700 (PDT) In-Reply-To: <4DF3919C.9070907@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140385 Archived-At: On Sat, Jun 11, 2011 at 18:02, Paul Eggert wrote: > The advantage of this approach is that we don't pollute > the Lisp namespace with one function name per algorithm. I think generalization is a good argument, but "don't pollute the namespace" is not. Interesting, widely used cryptographically secure hash functions (which, I suppose, are the target of crypto-hash-function) are introduced at a rate of one every X years, X >> 1. (md5 is from 1992, sha-1 is from 1995, sha-2 is from 2001). I'm pretty sure we "pollute the namespace" with all kind of functiosn at a rate several orders of magnitude bigger than that ;-) =C2=A0 =C2=A0 Juanma