add new module _utils with first function compare_digest
use compare_digest instead of direct string comparaison

fix #8