Earthstar should automatically select the most performant crypto driver for the platform it's running on.
Deno: CryptoDriverSodium
Browser: CryptoDriverNoble
Node: CryptoDriverChloride
We'll probably need to have two versions of src/crypto/global-crypto-driver.ts, one for Deno and one for the NPM distribution (we can't detect at runtime as the different drivers just being imported will cause either runtime to crash).
Earthstar should automatically select the most performant crypto driver for the platform it's running on.
CryptoDriverSodium
CryptoDriverNoble
CryptoDriverChloride
We'll probably need to have two versions of
src/crypto/global-crypto-driver.ts
, one for Deno and one for the NPM distribution (we can't detect at runtime as the different drivers just being imported will cause either runtime to crash).