added sha1 encoder security
wip