Provides complete platform abstraction for browser environments.
Remarks
This adapter aggregates all browser-specific implementations of platform
operations. It uses native Web APIs where possible and browser-compatible
libraries for crypto and PGP operations using a custom ECIES implementation
with @noble/secp256k1 for pure JavaScript cryptography.
Example
// Create a browser adapter instance constadapter = newBrowserPlatformAdapter();
// All platform operations are available constencrypted = awaitadapter.crypto.encryptWithPublicKey( 'secret', publicKey );
Provides complete platform abstraction for browser environments.
Remarks
This adapter aggregates all browser-specific implementations of platform operations. It uses native Web APIs where possible and browser-compatible libraries for crypto and PGP operations using a custom ECIES implementation with @noble/secp256k1 for pure JavaScript cryptography.
Example