Messing around in python3 and i am wondering how safe/ how long would this take to hack/crack?
code Here
output when password is "admin" and hash amount is 100 Paste bin
Messing around in python3 and i am wondering how safe/ how long would this take to hack/crack?
code Here
output when password is "admin" and hash amount is 100 Paste bin
I don't see any useful question here. This is just code which is not used anywhere. It is asking a theoretical question how long it would take to hack such a thing, without given any kind of context how and where this would be used.
In reality it is not that important how long it takes to crack some new algorithm, since there are enough algorithms out there which are known to be good. So why invent a new one? And even if the algorithms itself is to hard to hack the attacker can often use other ways to reach the goal, i.e. use a badly implemented password recovery, SQL injection, Cross Site Scripting etc.
Thus don't focus on reinventing something which has already solutions, but focus on the overall security of your (unknown) system you are trying to protect. For instance if the attacker is able to add its own fake implementation of the hashlib library at the beginning of your python include path then the attacker can control the full output of your super secure algorithm and thus can crack every passwords easily.