Just using BaseEncoding is easier.