Package com.github.spring.jwt
Class ThreadService
- java.lang.Object
-
- com.github.spring.jwt.ThreadService
-
@Service public class ThreadService extends Object
Class is responsible for decoding the jwt token and starting threads execution to crack the jwt- Author:
- pratapi.patel
-
-
Constructor Summary
Constructors Constructor Description ThreadService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
crackJwt(com.github.spring.jwt.CommandLineOptions options)
Method to create threads and assign the task to executors
-
-
-
Method Detail
-
crackJwt
public String crackJwt(com.github.spring.jwt.CommandLineOptions options) throws InterruptedException, ExecutionException
Method to create threads and assign the task to executors- Parameters:
options
-- Throws:
ExecutionException
InterruptedException
-
-