• Convenience function for restoreSecret that returns the secret as string.

    You may use this information when you passed the secret as string in the createRecoveryinformation function.

    Parameters

    • encryptedSecret: HexString

      The encrypted secret that was returned by the createRecoveryInformation function and stored locally.

    • symmetricKey: HexString

      The symmetric key you received from the recovery service.

    Returns string