Fixed Base64 encoding. Added Base64 decoding. Added Hamming distance calculation.