{'fraction_non_alphanumeric': 0.02608695652173913, 'fraction_numerical': 0.0023715415019762848, 'mean_word_length': 4.528384279475983, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A New Class of Balanced Near-Perfect Nonlinear Mappings and Its Application to Sequence Design

A mapping from ZN to ZM can be directly applied for the design of a sequence of period N with alphabet size M, where ZN denotes the ring of integers modulo N. The nonlinearity of such a mapping is closely related to the autocorrelation of the corresponding sequence. When M is a divisor of N, the sequence corresponding to a perfect nonlinear mapping has perfect autocorrelation, but it is not balanced. In this paper, we study balanced near-perfect nonlinear (NPN) mappings applicable for the design of sequence sets with low correlation. We first construct a new class of balanced NPN mappings from Z(p2-p) to Zp for an odd prime p. We then present a general method to construct a frequency-hopping sequence (FHS) set from a nonlinear mapping. By applying it to the new class, we obtain a new optimal FHS set of period p2-p with respect to the Peng-Fan bound, whose FHSs are balanced and optimal with respect to the Lempel-Greenberger bound. Moreover, we construct a low-correlation sequence set with size p, period p2-p, and maximum correlation magnitude p from the new class of balanced NPN mappings, which is asymptotically optimal with respect to the Welch bound.