Fixed crypto.util.base so it passes all unittests