Added SHA1 library to xapi module