add ua
compat.py, change sha1 zero
compat
fixed init order
compat py
sha1 bytes