emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move sha1 to C?


From: Stefan Monnier
Subject: Re: Move sha1 to C?
Date: Sun, 22 May 2011 22:23:55 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Do you mind if I do the following:

>   1. add sha1.[ch] from gnulib
>   2. export sha1 to elisp
>   3. obsolete sha1.el

Fine by me.  3 should also include "gut sha1.el's content" so that
loading it won't end up overwriting the C implementation with the old
Elisp code.

> Should the signature of sha1 stay as is or change to be similar to md5?
>    (md5 OBJECT &optional START END CODING-SYSTEM NOERROR)

I don't have any opinion on this.  The only thing I consider important
is to signal an error if the hashed text contains any
non-byte character.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]