Progressive Hashing
var sha256 = CryptoJS.algo.SHA256.create();
sha256.update("Message Part 1");
sha256.update("Message Part 2");
sha256.update("Message Part 3");
var hash = sha256.finalize();
holy shit, it looks exactly what I have been looking for. I need to test this out now, thank you very much!
edit:
looking at their documentation I am pretty confident that it is the case
edit 2:
So I have included ripemd160.js from here in my project and the following code actually is exactly what I needed.
var ripemd160 = CryptoJS.algo.RIPEMD160.create();
ripemd160.update("Message Part 1");
ripemd160.update("Message Part 2");
ripemd160.update("Message Part 3");
var hash = ripemd160.finalize();
alert(hash);