use getattr to get hash creators, this prevent wrong errors in some code checkers
replace open() with pysec.io.File.open()
remove string module and use internal constants