• Derive an encryption key and a commitment hash.

    Parameters

    • key: any
    • nonce: any

    Returns Promise<{ commitment: any; encKey: CryptographyKey }>