add logic for any base up to 16
refactor to add hex letter hash and integrate into any_base logic