def pseudonymize_4(self, s): sl = len(s) / self.__byte return struct.unpack('<%dh' % sl, s)