Add base64 and sha_1 implementations