added sha-1 hash support