Piece of recursive java code that bruteforces a hash of given possible characters for a string of a given length