Encode / Decode compound values into Base58-encoded bitmasks