Added SHA1 support, preparing new main