Call init upon encrypt and decrypt, and add Safari support.
Call init upon encrypt and decrypt, and add Safari support.

Safari doesn't use the standard crypto.subtle variable, but uses crypto.webkitSubtle instead.

This is a cherry-picked commit.

Original commit:
2fee0a2 init was never called, and no support for safari

Veredior/filesender,Veredior/filesender,jornane/filesender,filesender/filesender,filesender/filesender,Veredior/filesender,filesender/filesender,Veredior/filesender,filesender/filesender,Veredior/filesender,jornane/filesender,filesender/filesender,jornane/filesender,jornane/filesender