support public base 58 and WIF key formats