Added hash generator for password