Don't create the entropy buffer every time a new random char is choosen.
Removed some unused variables.