• Encrypts data with Gun.SEA

    Parameters

    • data: any

      Data to encrypt

    • key: string

      Encryption key

    Returns Promise<string>

    Promise that resolves with the encrypted data