I would be very interested in seeing resumable hashes and CRCs in the core API. Is this something that could happen?
-- Alan - @bigeasy On Feb 14, 2012, at 3:46 AM, Rong Shen wrote: > I've resoved this by using SparkMD5 (https://github.com/satazor/ > SparkMD5) , and use the psedo-code below: > > var data1 = '1234qe2412eddadf24312312ddqwd'; > var data2 = '5678123ljhlccwe12123121123111'; > > var spark1 = new SparkMD5(); > spark1.append(data1); > > var spark2 = new SparkMD5(); > spark2._state = spark1._state; > spark2._buff = spark1._buff; > spark2._length = spark1._length; > > spark2.append(data2); > var spark2Res = spark2.end(); > > > On 2月14日, 下午1时37分, Rong Shen <[email protected]> wrote: >> but how to import the hash-till-pause back to the Hash Coder? I have >> not found an API in Node for that. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
