Parallel brute force: Difference between revisions
Content added Content deleted
(Added Wren) |
m (→{{header|Wren}}: Minor edit.) |
||
Line 2,202: | Line 2,202: | ||
However, from an execution speed viewpoint, there is no point in doing so because Wren's VM is single threaded and can only run one fiber at a time. As it takes around 93 seconds on my machine to process a single initial letter (456,976 calls to sha256) this means that an overall runtime of about 40 minutes is needed to find the passwords corresponding to the 3 hashes. |
However, from an execution speed viewpoint, there is no point in doing so because Wren's VM is single threaded and can only run one fiber at a time. As it takes around 93 seconds on my machine to process a single initial letter (456,976 calls to sha256) this means that an overall runtime of about 40 minutes is needed to find the passwords corresponding to the 3 hashes. |
||
Currently, parallel calculations are impossible in Wren-cli. However, if Wren is being embedded, it might be |
Currently, parallel calculations are impossible in Wren-cli. However, if Wren is being embedded, it might be possible for a suitable host to run several Wren VM's in parallel and divide a task up between them to improve execution time. |
||
<lang ecmascript>import "/fmt" for Fmt |
<lang ecmascript>import "/fmt" for Fmt |
||