Add sha1 and base64 lib