This precomputes shared keys using the SharedKeyStore abstraction, similar to the JS client.
Fixes #86.
Some benchmarks would be nice (including mobile devices). @lgrahl in the JS codebase you simply encrypted/decrypted a certain amount of data in memory and measured the duration, right?
Note: This changes some public APIs due to a checked exception that has been moved in some cases (because precalculating the shared keys validates them earlier now than before). This means that a major release is required according to semver. Which is a good thing, because it allows us to tackle #89!
This precomputes shared keys using the
SharedKeyStore
abstraction, similar to the JS client.Fixes #86.
Some benchmarks would be nice (including mobile devices). @lgrahl in the JS codebase you simply encrypted/decrypted a certain amount of data in memory and measured the duration, right?
Note: This changes some public APIs due to a checked exception that has been moved in some cases (because precalculating the shared keys validates them earlier now than before). This means that a major release is required according to semver. Which is a good thing, because it allows us to tackle #89!