add hash lib to external