Is it possible to upload a file in memory using javascript for processing before sending it to server?
===

Let's say I want to use some js encryption library (not java) to encrypt a file. Is it possible to do so on client side before sending the file to the server and so upload a file by javascript in some memory on client side ?

Could I use local storage for example at least for latest browsers ?