Format Preserving Encryption for Long Strings

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current format-preserving encryption (FPE) methods, such as the FF1 algorithm, are inefficient for encrypting long character strings, as they require repeated invocations of the AES cipher and big number arithmetic operations, leading to slow performance.

Innovation Solution

The Just Encrypt 1 (JE1) system reduces the number of AES invocations per 128 bits of input to slightly more than 3 and uses hardware arithmetic operations during encryption and decryption, minimizing big number arithmetic to improve speed and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the FF1 algorithm is used for format-preserving encryption, then the ciphertext format is preserved and compatibility with legacy functions is maintained, but the encryption speed becomes prohibitively slow for long inputs

Engineering Contradiction:
Improveformat preservation compatibilityVSAvoidencryption speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent segments the long input string into multiple 128-bit blocks, processing each block independently through the AES cipher. This reduces the computational burden compared to processing the entire long string through multiple sequential FF1 invocations, thereby improving encryption speed while maintaining format preservation for each segment

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the operational parameters by using hardware arithmetic operations instead of software-based big number arithmetic. This parameter change in the computational method significantly accelerates the encryption process for long strings while maintaining the format-preserving property through controlled modular arithmetic operations

Inventive Principle:
Principle #35Parameter changes

2Reliability

If multiple invocations of AES cipher are used in FF1 algorithm, then format-preserving encryption is achieved, but the computational complexity and processing time increase significantly

Engineering Contradiction:
Improveencryption securityVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the encryption process into segments corresponding to 128-bit blocks, with each segment requiring only a limited number of AES invocations. This segmentation reduces the total computational complexity compared to applying multiple FF1 invocations across the entire long input, while maintaining security through systematic processing of all segments

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces software-based big number arithmetic operations with hardware arithmetic operations. This substitution reduces computational complexity by leveraging dedicated hardware circuits optimized for arithmetic operations, thereby decreasing processing time and computational burden while maintaining the cryptographic security requirements

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11637690B1Format preserving encryption (FPE) system and method for long strings
Publication Date: 2023.04.25 BAFFLE INC
  • US11637690B1 patent drawing
  • US11637690B1 patent drawing
  • US11637690B1 patent drawing

AI summary

A format-preserving Just Encrypt 1 (JE1) system and method provides significant performance advantages over known FPE methods for longer character strings due to the technical improvements.