server icon indicating copy to clipboard operation
server copied to clipboard

[ENHANCEMENT]: Calculation of the “Attack Runtime Estimation” should be performed by the backend in the future.

Open gpascal123 opened this issue 2 months ago • 4 comments

Description

On the Supertask details page, there is a section called “Attack Runtime Estimation.” The calculation performed there is currently executed in the frontend. In the future, it should be executed in the backend and the result displayed in the frontend.

Image

gpascal123 avatar Dec 02 '25 13:12 gpascal123

Where exactly can I find this? I dont see it in the supertask detail page

jessevz avatar Dec 02 '25 13:12 jessevz

This is not currently visible in the new UI, but there is code for it.

In the old UI, you can find the calculation directly on a Supertask detail page.

Image

gpascal123 avatar Dec 02 '25 13:12 gpascal123

I have looked into this, I am not sure if calculating this in the backend makes sense. In the old UI this was calculated with a javascript library in the frontend (static/optparse.hashtopolis.1.1.1.js). If we want to calculate this in the backend it means that we have to rewrite this library entirely in php. I think the best way is to keep this in the frontend. Which makes sense, since when clicking the button, the frontend already has all data to be able to calculate this

jessevz avatar Dec 09 '25 14:12 jessevz

I have added pull request #1820 so that the frontend has everything to calculate the keyspace

jessevz avatar Dec 09 '25 16:12 jessevz