Optionalkdf: KeyDerivationFunctionGenerates and signs a bundle of one-time keys. Stores them locally for later use.
OptionalnumKeys: number = 100Receive and process an initial X3DH handshake message. Returns the shared secret and sender's identity.
Initiate X3DH key exchange as the sender. Returns the shared secret and handshake data to send to recipient.
Sets the identity string for the current user.
Sign a pre-key with the identity key. This is what should be used for signed pre-keys in X3DH.
StaticprekeysStaticX3
X3DH implementation using Web Crypto API. Keys are passed in instead of being managed internally.