04-09-2019, 08:40 AM
You are right, hashcat is using OpnCl for both functions. The c code example should show that the functions are easy to implement in different coding languages like c, by adding cryptolibs.
There are also java implementations:
https://howtodoinjava.com/security/how-t...thHmacSHA1
For a simulation in MATLAB (I don't use it), you have to read the basics here:
https://tools.ietf.org/html/rfc8018#page-11
Unfortunately this docs are not easy to understand.
A good source is stackoverflow:
https://stackoverflow.com/questions/2465...-hmac-sha1
There are also java implementations:
https://howtodoinjava.com/security/how-t...thHmacSHA1
For a simulation in MATLAB (I don't use it), you have to read the basics here:
https://tools.ietf.org/html/rfc8018#page-11
Unfortunately this docs are not easy to understand.
A good source is stackoverflow:
https://stackoverflow.com/questions/2465...-hmac-sha1