apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: SHA1 update v.s. update_binary
Date Thu, 04 Aug 2005 07:10:04 GMT
On Thu, Aug 04, 2005 at 01:34:04AM -0500, William Rowe wrote:
> I can't quite figure the difference between apr_sha1_update and
> ...update_binary.  My first guess was that _update took a null term
> string, while update_binary would be a counted byte array.  But both
> functions take an inputLen.

If you look at the implementations, the key difference seems to be that 
the _update interface performs EBCDIC->ASCII translation on the input.

joe

Mime
View raw message