IP Library Granted Patent US 11,212,097
Granted Patent B2
US 11,212,097 · App. 17/323,908 · Granted Dec 28, 2021

Mixed unary cryptography

Inventor: Gideon Samid (Rockville, MD)
H04L9/14H04L9/0869
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,212,097
App. No.
17/323,908
Granted
Dec 28, 2021
Kind
B2
Abstract

A stream of plaintext is marked per its more sensitive parts. These marked parts are being encrypted via mathematically secure ciphers for which the ciphertext may be much larger than the plaintext. This invention creates a mix of size-preserving encryption for the not so sensitive parts of the plaintext, and size-enlarging encryption for the marked parts, thereby security is served without the inconvenience of a very long ciphertext.

Claims (27)

1. A method comprising:

receiving, by a computing device, a plaintext message M;

selecting, by the computing device, n segments (P 1 , P 2 , P 3 . . . P n ) from the plaintext message M,

wherein n is a positive integer greater than or equal to two, and

wherein the selected n segments (P 1 , P 2 , P 3 . . . P n ) are a subset of the plaintext message M;

removing, by the computing device, each of the selected n segments (P 1 , P 2 , P 3 . . . P n ) from the plaintext message M; and

concatenating, by the computing device, remaining sections of plaintext message to a contiguous left-over message M i ;

for each of the selected n segments (P 1 , P 2 , P 3 . . . P n ):

identifying, by the computing device, a bit position value t i , i=1, 2, . . . n,

wherein the bit position value t i denotes a bit position for each of the selected n segments (P 1 , P 2 , P 3 . . . P n ) relative to the plaintext message M;

generating, by the computing device, a concatenated segment P* i , i=1, 2, . . . n, for each of the selected n segments (P 1 , P 2 , P 3 . . . P n ),

wherein each of the concatenated segments P* i , i=1, 2, . . . n, is generated from concatenating a corresponding segment P i , i=1, 2, . . . n, with a first header with h header bits corresponding to the bit position value t i and a first trailer bits, according to the formula

P* i =[ h bits indicating t i ]∥ P i ∥[trailer bits],

wherein the first trailer bits are set to 1 for i=1, 2, . . . (n−1), and 0 for i=n;

concatenating, by the computing device, a second header bits in the form of “1000 . . . 1” to each of the concatenated segments P* i , i=1, 2, . . . n, the second header bits comprise of an arbitrary number of numerical zeros between numerical ones;

concatenating, by the computing device, a second trailer bits in the form of “0111 . . . 0” to each of the concatenated segments P* i , i=1, 2, . . . n, the second trailer bits comprise an arbitrary number of numerical ones between numerical zeros, so as to update the each of the concatenated segments P* i , i=1, 2, . . . n;

encrypting, by the computing device, each of the updated concatenated segments P* i , i=1, 2, . . . n, using an augmented-ciphertext cipher A with an augmented cipher key K a , and generating a corresponding ciphertext C i , i=1, 2, . . . n, according to the formula

C i =α( P* i ,K a ),

where α denotes encryption with the augmented-ciphertext cipher A,

wherein each of the ciphertexts C i , i=1, 2, . . . n, has same bit size;

for the contiguous left-over message M 1 :

encrypting, by the computing device, the contiguous left-over message M 1 using a base cipher B with a base cipher key K b , according to the formula

C 1 =β( M 1 ,K b ),

where β denotes encryption with the base cipher B,

wherein the base cipher B uses different encryption algorithm and encryption key from the augmented-ciphertext cipher A;

generating, by the computing device, a mixed ciphertext C m by concatenating the ciphertext C i , i=1, 2, . . . n, and C 1 according to the formula C m =C 1 ∥C 2 ∥ . . . ∥C n ∥C 1 ; and

transmitting, by the computing device, the mixed ciphertext C m to an intended recipient.

Continuity (12)
Continuation In Part 16821944 · Mar 17, 2020
Continuation In Part 14714328 · May 17, 2015
Provisional Application 62850720 · May 21, 2019
Provisional Application 62857898 · Jun 6, 2019
Provisional Application 62900567 · Sep 15, 2019
Provisional Application 62926560 · Oct 27, 2019
Provisional Application 62931807 · Nov 7, 2019
Provisional Application 62693855 · Jan 21, 2020
Provisional Application 63034401 · Jun 4, 2020
Provisional Application 63051652 · Jul 14, 2020
Provisional Application 63140006 · Jan 21, 2021
Related Publication 20210281407A1 · Sep 9, 2021