KeyGenerator now generates keys which can contain characters more then one time