From: Tassilo Horn <tassilo@member.fsf.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: md5 and sha1 signatures
Date: Fri, 27 May 2011 10:29:35 +0200 [thread overview]
Message-ID: <87r57kfswg.fsf@member.fsf.org> (raw)
In-Reply-To: <jwvy61t9d71.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 26 May 2011 21:53:42 -0300")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Since there is only one user of sha1's BINARY arg namely canlock-sha1
>> in the source tree, I wonder if it is worthwhile to make md5 and sha1
>> have similar signature:
>
>> (md5 OBJECT &optional START END CODING-SYSTEM NOERROR BINARY)
>> (sha1 OBJECT &optional START END CODING-SYSTEM NOERROR BINARY)
>
>> What do you think?
>
> I don't think it's worth the trouble.
Where's the big trouble, if there's only one user right now?
At least, all the command line tools `md5sum', `sha1sum', `sha224sum',
`sha256sum', `sha384sum', and `sha512sum' have the exact same options
and meanings. So I don't see a valid reason to have different lisp
signatures, especially if there's a chance that other algorithms might
be added in the future.
Bye,
Tassilo
next prev parent reply other threads:[~2011-05-27 8:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 9:38 md5 and sha1 signatures Leo
2011-05-27 0:53 ` Stefan Monnier
2011-05-27 3:12 ` Leo
2011-05-27 8:29 ` Tassilo Horn [this message]
2011-05-27 12:35 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r57kfswg.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.