My suggestion for JS is never store the keys, JavaScript encryption is
completely tricky. For Android and iOS is doable (not saying NSA-proof)
Apostolos Emmanouilidis wrote:
Where will the private key be stored (local storage, other options)?
Not sure if local storage should be considered an option since it
creates a tightly coupled connection between a specific browser and
the data stored.
--
abstractj