Fixed HashProvider, implemented hash security into project