title: Encrypting large files using the WebCrypto API
body: <p>I'm trying to encrypt big files (> 1GB) using the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API" rel="noreferrer">WebCrypto API</a>. </p>
  
  <p>Encrypting small files works great but when I try to encrypt big files, my browser hangs and it seems the encryption is never finished.</p>
  
  <p>I think the best option would be to read and encrypt chunks of the file and than merge the chunks together when done reading.</p>
  
  <p>Does anyone here have experience with encrypting and merging chunks together? If so, I would highly appreciate it if someone could show me an example or point me into the right correction.</p>
  
  <p>Thanks in advance!</p>