W3C home > Mailing lists > Public > public-webcrypto-comments@w3.org > December 2012

Re: Streaming - [Re: CryptoOperation and its life cycle]

From: Aymeric Vitte <vitteaymeric@gmail.com>
Date: Fri, 14 Dec 2012 12:29:43 +0100
Message-ID: <50CB0DA7.6050701@gmail.com>
To: Ryan Sleevi <sleevi@google.com>
CC: public-webcrypto-comments@w3.org

Le 13/12/2012 23:34, Ryan Sleevi a écrit :
> For all of the supported digest functions, there is an explicit 
> finalization step, as dictated by the algorithm definition, which 
> involves padding and including the length. That is, there is NEVER any 
> output that returns a "partial" hash
I am not talking about a partial hash output.

To be clear, the question is how to do what is here 
https://github.com/Ayms/node-Tor/blob/master/src/crypto.cc#l396-416 ( 
what is commented was the initial behavior, ie close the hash after 
digest, I did modify it to keep the state before digest and process it 
again after digest) or here 
(lines 1578-1587, same thing)

Again, that's a real life use case for streaming used/requested not by 
myself only, see next email too.

Email :  avitte@jcore.fr
GitHub : https://www.github.com/Ayms
Web :    www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com
Received on Friday, 14 December 2012 11:27:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:12:49 UTC