javascript - Is it possible to produce a final SHA-256 value from a series of intermediate values? -


is possible produce multiple intermediate sha-256 values somehow combined @ later time produce same sha-256 produced single hashing computation?

in other words, if hash 4gb .iso image file sha-256 value 1 day, produce same single sha-256 splitting file into, lets 10 sections, producing intermediate sha-256 each section, , @ later time, produce final sha-256 using "only" intermediate sha-256 values?

i realise there no way produce 10 intermediate sha-256 values 1 final sha-256 value thought might possible hash file in chunks , combine 10 intermediate sha-256 values @ later time without needing actual data @ same time.

if possible, how produce final sha-256 intermediate sha-256 values in c# and/or javascript?

edit: want take away requirement of intermediate values being sha-256 values.

i don't care long can produce final sha-256 @ later time using "only" multiple intermediate values , no data. , have exact same sha-256 have gotten doing @ once on 4gb(arbitrary size) file.

i'm thinking of voucher system conductor asks see train ticket , have person step in place , say, "i've checked guy out, don't need to, verify integrity".

a hashing algorithm produces unique hash every input data. combination of intermediate hashes still different iso file, producing different hash if hash file directly.

if drop requirement hash produced file must same final hash produced intermediates, can still use later approach in opinion since combination of 10 hashes should still unique in , of itself, giving unique final hash each input file.

the scheme that:

enter image description here


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -