Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
USE OF RANDOM ENTROPY IN CRYPTOGRAPHY
Document Type and Number:
WIPO Patent Application WO/2023/091636
Kind Code:
A1
Abstract:
A system that uses a computing device to encrypt data by obtaining multiple series of random numbers, and then time-correlating these series to form a series of composite elements. By selecting a section of the series of composite elements, the computing device can obtain a key for encrypting data.

Inventors:
GRANT ROBERT EDWARD (US)
Application Number:
PCT/US2022/050359
Publication Date:
May 25, 2023
Filing Date:
November 18, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THEON TECH LLC (US)
International Classes:
H04L9/08; G06N20/00
Foreign References:
US9450749B22016-09-20
US6151676A2000-11-21
US20200136819A12020-04-30
US20060177065A12006-08-10
KR102244290B12021-04-26
Attorney, Agent or Firm:
FISH, Robert D. et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method of encrypting and decrypting data, comprising: using at least a first computing device to produce at least first, second, and third series of random numbers; time-correlating at least the first, second, and third series of random numbers to produce a series of composite elements; and utilizing a portion of the series of composite elements as a key to encrypt or decrypt the data.

2. The method of claim 1, wherein successive elements in the portion of the composite series of elements are separated in time by no more than a millisecond.

3. The method of claim 1, wherein successive elements in the portion of the composite series of elements are separated in time by no more than a microsecond.

4. The method of claim 1, further comprising utilizing the series of composite elements as notes in a musical composition.

5. The method of claim 4, further comprising mapping different sequences of the first series of random numbers to frequencies of different ones of the notes.

6. The method of claim 4, further comprising mapping different sequences of the second series of random numbers to note lengths of different ones of the notes.

7. The method of claim 4, further comprising mapping different sequences of the third series of random numbers to tempos of different parts of the musical composition.

8. The method of claim 4, further comprising mapping different sequences of the first series of random numbers to frequencies of different ones of the notes, and mapping different sequences of the second series of random numbers to note lengths of different ones of the notes.

9. The method of claim 8, further comprising mapping different sequences of the third series of random numbers to tempos of different parts of the musical composition.

10. The method of claim 4, further comprising utilizing artificial intelligence to include the notes in a melody of the musical composition.

11. The method of claim 1, wherein the portion of the series of composite elements used as the key comprises a one-time pad.

12. The method of claim 11, wherein the one-time pad comprises at least 10,000 digits.

Description:
USE OF RANDOM ENTROPY IN CRYPTOGRAPHY

Field of the Invention

[0001] The field of the invention is data security.

Background

[0002] The background description includes information that may be useful in understanding the present invention. It is not an admission that any of the information provided herein is prior art or relevant to the presently claimed invention, or that any publication specifically or implicitly referenced is prior art.

[0003] The popularity of cryptocurrencies in recent years has inspired many to seek other potential uses for blockchain for other applications. Private blockchains allow for the storage of sensitive information. However, access management for this information is cumbersome, especially as the blockchains get bigger and bigger.

[0004] For shared data sets such as in a blockchain system, a system must be able to secure the data while being flexible enough to allow users proper access to the data. Unfortunately, this creates complexity where the system must juggle many separate keys for all users, and be constantly updating each.

[0005] One-time pads for passwords are known to be have a high level of security. However, the use of one-time pads requires that the keys be shared between the parties ahead of time, and only be used once. This means that for many exchanges, the parties must have a priori storage of many keys. The difficulties associated with these requirements has resulted in favoring the public key cryptography schemes over one-time pad schemes.

[0006] Moreover, full keys of one-time key pads can be very memory-intensive. Keys can be as large as the data they are meant to encrypt. As the data sets and keys become larger and larger, it becomes increasingly difficult to store these large data sets and transmission of the encrypted data and keys becomes more demanding on data transmission networks. [0007] Others have attempted to solve this problem.

[0008] WO 20190110955 to Bryant discusses the use of a one-time pad for password generation. However, the solution in Bryant requires the storage of all of the passwords in a large pad, which is resource intensive.

[0009] WO 00/65768 to Persson discusses determining a maximum key length. However, the generation of the shortened key in Persson is performed in such a way that a function can still only be used once.

[0010] Thus, there is still a need for a system that securely protects a shared data set while adeptly providing the correct access to its users, as well as reducing the data and transmission requirements for their use.

Summary of The Invention

[0011] The inventive subject matter provides apparatus, systems and methods in which a computing device produces highly random numbers using a combination of (1) and Al interface, (2) a functions table, and (3) a random bits generator.

[0012] The inventive subject matter also provides apparatus, systems and methods in which a computing device obtains at least a first, second and third series of random numbers and timecorrelates these series of random numbers to produce a series of composite elements. A section of this series composite elements is used as a key to encrypt (and correspondingly, decrypt) data.

[0013] Various objects, features, aspects and advantages of the inventive subject matter will become more apparent from the following detailed description of preferred embodiments, along with the accompanying drawing figures in which like numerals represent like components.

[0014] All publications identified herein are incorporated by reference to the same extent as if each individual publication or patent application were specifically and individually indicated to be incorporated by reference. Where a definition or use of a term in an incorporated reference is inconsistent or contrary to the definition of that term provided herein, the definition of that term provided herein applies and the definition of that term in the reference does not apply. [0015] The following description includes information that may be useful in understanding the present invention. It is not an admission that any of the information provided herein is prior art or relevant to the presently claimed invention, or that any publication specifically or implicitly referenced is prior art.

[0016] In some embodiments, the numbers expressing quantities of ingredients, properties such as concentration, reaction conditions, and so forth, used to describe and claim certain embodiments of the invention are to be understood as being modified in some instances by the term “about.” Accordingly, in some embodiments, the numerical parameters set forth in the written description and attached claims are approximations that can vary depending upon the desired properties sought to be obtained by a particular embodiment. In some embodiments, the numerical parameters should be construed in light of the number of reported significant digits and by applying ordinary rounding techniques. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of some embodiments of the invention are approximations, the numerical values set forth in the specific examples are reported as precisely as practicable. The numerical values presented in some embodiments of the invention may contain certain errors necessarily resulting from the standard deviation found in their respective testing measurements.

[0017] Unless the context dictates the contrary, all ranges set forth herein should be interpreted as being inclusive of their endpoints and open-ended ranges should be interpreted to include only commercially practical values. Similarly, all lists of values should be considered as inclusive of intermediate values unless the context indicates the contrary.

[0018] As used in the description herein and throughout the claims that follow, the meaning of “a,” “an,” and “the” includes plural reference unless the context clearly dictates otherwise. Also, as used in the description herein, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.

[0019] The recitation of ranges of values herein is merely intended to serve as a shorthand method of referring individually to each separate value falling within the range. Unless otherwise indicated herein, each individual value is incorporated into the specification as if it were individually recited herein. All methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The use of any and all examples, or exemplary language (e.g. “such as”) provided with respect to certain embodiments herein is intended merely to better illuminate the invention and does not pose a limitation on the scope of the invention otherwise claimed. No language in the specification should be construed as indicating any non-claimed element essential to the practice of the invention.

[0020] Groupings of alternative elements or embodiments of the invention disclosed herein are not to be construed as limitations. Each group member can be referred to and claimed individually or in any combination with other members of the group or other elements found herein. One or more members of a group can be included in, or deleted from, a group for reasons of convenience and/or patentability. When any such inclusion or deletion occurs, the specification is herein deemed to contain the group as modified thus fulfilling the written description of all Markush groups used in the appended claims.

Brief Description of the Drawing

[0021] Figure 1 is a diagrammatic overview of a system according to various embodiments of the inventive subject matter.

[0022] Figure 2 provides a schematic representation of the Al general workflow, according to embodiments of the inventive subject matter.

[0023] Figure 3 provides a schematic representation of a small part of the Functions Table, according to embodiments of the inventive subject matter.

[0024] Figure 4 provides a schematic representation of the RBG workflow, according to embodiments of the inventive subject matter.

[0025] Figure 5 illustrates a method of encrypting data according to embodiments of the inventive subject matter. Detailed Description

[0026] Throughout the following discussion, numerous references will be made regarding servers, services, interfaces, engines, modules, clients, peers, portals, platforms, or other systems formed from computing devices. It should be appreciated that the use of such terms, is deemed to represent one or more computing devices having at least one processor (e.g., ASIC, FPGA, DSP, x86, ARM, ColdFire, GPU, multi-core processors, etc.) programmed to execute software instructions stored on a computer readable tangible, non-transitory medium (e.g., hard drive, solid state drive, RAM, flash, ROM, etc.). For example, a server can include one or more computers operating as a web server, database server, or other type of computer server in a manner to fulfill described roles, responsibilities, or functions. One should further appreciate the disclosed computer-based algorithms, processes, methods, or other types of instruction sets can be embodied as a computer program product comprising a non-transitory, tangible computer readable media storing the instructions that cause a processor to execute the disclosed steps. The various servers, systems, databases, or interfaces can exchange data using standardized protocols or algorithms, possibly based on HTTP, HTTPS, AES, public-private key exchanges, web service APIs, known financial transaction protocols, or other electronic information exchanging methods. Data exchanges can be conducted over a packet- switched network, the Internet, LAN, WAN, VPN, or other type of packet switched network.

[0027] The following discussion provides many example embodiments of the inventive subject matter. Although each embodiment represents a single combination of inventive elements, the inventive subject matter is considered to include all possible combinations of the disclosed elements. Thus if one embodiment comprises elements A, B, and C, and a second embodiment comprises elements B and D, then the inventive subject matter is also considered to include other remaining combinations of A, B, C, or D, even if not explicitly disclosed.

[0028] As used herein, and unless the context dictates otherwise, the term "coupled to" is intended to include both direct coupling (in which two elements that are coupled to each other contact each other) and indirect coupling (in which at least one additional element is located between the two elements). Therefore, the terms "coupled to" and "coupled with" are used synonymously. [0029] Figure 1 provides a diagrammatic overview of a system 100 according to embodiments of the inventive subject matter.

[0030] The inventive subject matter provides apparatus, systems and methods in which a computing device produces highly random numbers using a combination of (1) and Al interface, (2) a functions table, and (3) a random bits generator.

[0031] A preferred embodiment of the inventive system and method is referred to herein from time to time as CrownRNG™. The CrownRNG™design exploits the by-default randomness of irrational numbers.

[0032] Mathematically speaking, irrational numbers are those numbers that cannot be expressed as ratios of two or more rational numbers. They are proven to have digital sequences, also known as mantissas, that extend to infinity without ever repeating. Therefore, they are excellent sources for true randomness 1.

[0033] Mathematical functions known to generate irrational numbers include the square roots of non-square numbers, e.g., square roots of prime numbers, ?20, ?35, etc., and also trigonometric functions having natural numbers for their arguments, among many other. (Please refer to Appendix A for a list of some irrational numbers' generating functions).

[0034] The basic idea behind CrownRNG is to use the power of artificial intelligence (Al) to create mathematical functions able to generate random irrational numbers. The irrational numbers will function as parameters to be used to generate highly randomized sequences of binary bits that are suitable for encryption purposes.

[0035] The CrownRNG unit generally comprises three main components:

1- An Al interface.

2. A Functions Table.

3. A Random Bits Generator (RBG). 1. The Al interface:

[0036] The Al interface utilizes the learning capabilities of artificial intelligence to learn how to generate randomized parameters needed by the system.

[0037] The Al is initialized by a set of CPU metrics coming from the hosting PC. It uses these metrics as initial features to learn from and to then evolve via linear-regression-based Machine- Learning (ML) algorithm.

[0038] One branch of the Al, the MusicAI, will compose random music pieces that will transform into a set of numbers corresponding to the octaves, notes, and tempi of the music piece. These three values are then converted, via digital root arithmetic, into specific ranges such that they can be utilized by the Functions Table.

[0039] The other branch of the Al, the MathAI, uses ML to create ever-changing mathematical formulae tuned to create random non-square numbers (N). The square roots of these non-square numbers create numbers with irrational mantissas. These irrational numbers will be truncated to specific bit- lengths dictated by the private keys’ security level and then will be passed on to the RBG as seeds.

The MusicAI:

[0040] The main workflow of the MusicAI can be summarized as follows:

[0041] First, three parameters of the CPU are collected: the allocated memory, allocated heap, and stack. These three values will be collected in intervals of 1 millisecond for a total of 5 seconds. This will generate 5000 data points for each.

[0042] Next, the Al will start doing supervised machine learning on these values, treating two as features and one as the predicted label.

[0043] Using a linear regression model, two features, let say the memory and heap, will learn to predict the stack label, then the model will collect new values for the features and start predicting the heap label. The same machine-learning algorithm will be used, but with the labels being the other two features instead.

[0044] So, in total, we have three Al algorithms working simultaneously to predict three labels, memory, heap, and stack.

[0045] The three predicted values are truncated, using modular math, into specific values depending on their allocated variables, as shown in the table below.

Features Label Variable Mod

Heap Memory Stack Note 7

Heap Stack Memory Tempo 6

Memory Stack Heap Octave 12

Table.1: The features/labels transformation of the CPU metrics.

[0046] The stack values will be allocated to the note variable and hence be truncated to mod(7), in other words, eight values from 0 to 7. The memory values will transform into the tempo using mod(6), and finally, the heap variables will transform into the octave, using mod(12). These three values will then pass on to the function table, as we to be explained later.

1. The MathAI:

[0047] The MathAI shares the same supervised machine learning algorithm with the MusicAI. However, for this case, the three predicted values of the memory, heap, and stack are truncated using mod(10). The operation is repeated, and the values are concatenated to form one single number of a specific length, specified by the programmer.

[0048] A single-digit of either [2, 3, 7, 8] is randomly chosen and then added to the end of the concatenated number, whenever needed, to ensure that the number is not a perfect square. This is because no number, when squared, will end with either of these four digits. The final number is then square-rooted and passed on to the next element. [0049] In summary, the Al outputs the following parameters: a. The irrational seed. An infinite irrational number truncated to a specific length. b. The tempo, note, and octave parameters in the ranges of (0-7), (0-8), and (0-13), respectively.

[0050] Fig. 2 shows a schematic rendering of the workflow of the Al.

2. The Functions Table

[0051] The Functions Table is defined by a set of horizontal and vertical variables that are mathematical functions proven to always produce perfect irrational numbers. The arguments of these functions are not fixed, determined by the random internal states, mainly the timestamp of the current time, as well as the tempo variable.

[0052] The tempo, note, and octave parameters coming out of the Al will be used to determine which two cells on the vertical and horizontal axis will be utilized for the current run. The output of these cells (the irrational mantissas) will then be truncated accordingly and used to compute the arithmetic mode by which the RBG will operate.

[0053] For our current model, we use the square root function on the horizontal axis of the table and trigonometric ones on the vertical axis.

[0054] There are seven cells on the horizontal axis (Figure 2), with the argument of the square roots being the product of the tempo value, the timestamp (TS), and a non-square number (A) as follows: sqrt (TS x Tempo x A). (This non-square number A is not the same as the N used to generate the seed.)

[0055] The horizontal scale is made of 104 cells corresponding to 13 octaves, with each octave divided into eight notes. The octave parameter will first select one of the 13 octaves, and then the note parameter will select which note of this specific octave will be used. Each note corresponds to a trigonometric function having an argument made of the time stamp divided by a specific frequency value: TS/fr. [0056] The trigonometric functions, along with the frequencies of the notes of the 13 octaves, are listed in the table below.

Table.2: A list of the trigonometric functions used along with the music frequencies of each octave.

[0057] Once the two irrational values of the horizontal and the vertical cells are calculated, they will be truncated accordingly and then passed on, along with the seed, to the RBG.

3. The Random Bit Generator (RBG)

[0058] The RBG utilizes a specific mathematical function that takes the seed output of the Al as its initial argument and the two irrational numbers of the Functions Table as the arithmetic mod parameters. From there, it iterates on each calculated value to calculate new ones that are then concatenated to create a randomized sequence of bits.

[0059] The RBG general design is based on the cryptographically-secure Blum-Blum-Shub (BBS) generator2. But while the arithmetic mod in the original BBS is computed from the product of a couple of prime numbers, in the CrownRNG case, we use the truncated irrational numbers coming from the Functions Table instead.

[0060] We can think of the RBG function as occupying the inner cells of the Function table, taking its parameters from the X and Y axis, and outputting a value based on these parameters and the seed. The general concept of the BBS generator goes as follows:

1. Two primes p and q of specific bit-length are chosen such that each is congruent to 3 modulo 4: p = q = 3 mod(4). (In the CrownRNG case, the two primes are replaced with two truncated irrational numbers, Il and 12, that satisfy the same mod(4) requirement.)

2. The two prime numbers (irrational numbers in our case) are multiplied to generate n, the arithmetical mode by which the generator will perform its calculations.

3. A random integer s (the seed) is generated from another physical true random number generator, having a length in the interval of [7, n-1 ] (in the CrownRNG case, the seed is generated by the Al.)

4. The seed will initiate the generation process through the operation xo = s 2 mod(n).

5. The function Xi = 2 i-imod n) is then used to iterate over each previously calculated value, generating new values for every iteration and outputting a string of numbers: xi, X2, X3, ..., Xk-

6. Next, the output values are converted into a string of binary bits.

7. The bit-parity of each binary number is determined depending on the type of parity, even or odd (0 or 1).

8. Finally, the parity digits are concatenated to form the desired CSPRN, depending on the required bit-length of the key, which also determines the level of security: Y = yiy2y3... yk.

[0061] As mentioned above, the only modification the RBG introduces to the original BBS is replacing the prime numbers with the irrational ones. The usage of prime numbers in the original BBS is a must if we want to have the ability to reverse the direction of the generator, as in the case when the BBS system is used as an encryption / decryption algorithm. However, as we do not want to reverse the operation in our system, there is no problem with using numbers that are not prime. In fact, this introduces additional security to the system because when we compare the limited amount of prime numbers having specific bit-length to the infinite amount of potential irrational numbers of the same bit-lengths, the infinity factor introduces an extra advantage when it comes to the security of the generator against cyber-attacks that try to predict these values.

[0062] Figure 5 illustrates a method of encrypting data according to embodiments of the inventive subject matter.

[0063] At step 510, a computing device produces or otherwise obtains multiple series of random numbers. In this example, it produces three series of random numbers (a first series, a second series, a third series). The series of random numbers can be produced according to the techniques discussed herein or through other known techniques.

[0064] At step 520, the computing device time-correlates the first, second and third series of random numbers to produce a series of composite elements.

[0065] Time correlation is considered to refer to a synchronization or matching up of separate random number series that may or may not have been generated contemporaneously. Thus, at step 520, the computing device time-correlates the first, second and third series of random numbers by synchronizing them in time or otherwise matching them up such that when run through a time-dependent application or function (e.g., musical or video playback), the first, second and third series of random numbers have synchronous correlations between them. The time correlation can be performed, for example, according to a matching of number positioning in each of the series of random numbers (e.g., align the 10 th number of each) or according to a bit position of each of the series of random numbers.

[0066] The series of composite elements is thus considered to be the synchronized assembly of the first, second and third series of random numbers. In embodiments, this could be thought of as a series of matrices containing the time-correlated elements of each of the first, second and third series of random numbers.

[0067] In embodiments, successive elements in the portion of the composite series of elements are separated in time by no more than a millisecond. In other embodiments, successive elements in the portion of the composite series of elements are separated in time by no more than a microsecond.

[0068] In embodiments, the computing device can utilize the portion of the series of composite elements as corresponding to different characteristics of a musical composition. For example, the series of composite elements could correspond to notes in a musical composition. Other contemplated characteristics could include a sound frequency, note length, tone, tempo, musical key, volume, etc.

[0069] For example, in these embodiments, the computing device can further map different sequences of the first series of random numbers to frequencies of different ones of the notes. Likewise, the computing device maps different sequences of the second series of random numbers to note lengths of the notes and maps different sequences of the third series of random numbers to tempos of the corresponding different parts of the musical composition.

[0070] In variations of these embodiments, the computing device can apply artificial intelligence to apply the notes, length of notes, and/or the tempo in a melody of the musical composition.

[0071] At step 530, the computing device uses a portion of the series of composite elements as a key and uses the key to encrypt the data. To derive the key from the series of composite elements, the computing device can apply starting information for the composite elements and a length that results in the portion of the series of composite elements to use as the key. For example, the starting information can be a starting position within the series of composite elements such as a numeric position, a bit position, a start time, a start frame, etc. The length can be a numeric length, a character length, a bit size, a duration, etc.

[0072] For the above example of a musical composition, the key can be a portion of the musical composition denoted by a starting point in the musical composition and a length of the portion of the musical composition that contains the series of composite elements. The information used as a key would then be contained within the musical composition.

[0073] The use of a starting point and length of a number or other sequence for the purposes of generating a key is discussed in Applicant’s own U.S. patent application number 17/018,582 titled “Method of Storing and Distributing Large Keys” filed on September 11, 2020.

Application 17/018,582 is incorporated herein by reference in its entirety.

[0074] To decrypt the data, the same process of Fig. 5 would be used. In situations where the encrypted data is sent, the sender sends the musical composition (or a link to the musical composition). In this case, the shared secret that is known ahead of time could be the starting point and length, as well as the aspects of the musical composition containing the key (in this case, the notes, note length and tempo). This way, a middle-man intercepting the musical composition information only would not know how to apply the musical composition to derive the decryption key.

[0075] In embodiments, the portion of the series of composite elements used as the key is a onetime pad. This one-time pad can comprise at least 10,000 digits.

[0076] It should be noted that while a musical composition is used as a carrier for the key in the example above, the inventive subject matter is not limited to this method of carrier. A video could be similarly used to convey a key, where the different elements of the different series of random numbers could be made into different characteristics of a video clip. Likewise, a sound or musical composition could be rasterized into an image and the key then distributed within the rasterized image.

[0077] It should be apparent to those skilled in the art that many more modifications besides those already described are possible without departing from the inventive concepts herein. The inventive subject matter, therefore, is not to be restricted except in the spirit of the appended claims. Moreover, in interpreting both the specification and the claims, all terms should be interpreted in the broadest possible manner consistent with the context. In particular, the terms “comprises” and “comprising” should be interpreted as referring to elements, components, or steps in a non-exclusive manner, indicating that the referenced elements, components, or steps may be present, or utilized, or combined with other elements, components, or steps that are not expressly referenced. Where the specification claims refers to at least one of something selected from the group consisting of A, B, C .... and N, the text should be interpreted as requiring only one element from the group, not A plus N, or B plus N, etc.