<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Dataset of Cryptographic Algorithms for UAV Image Encryption based on Artificial Neural Networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sergiy Gnatyuk</string-name>
          <email>s.gnatyuk@nau.edu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrew Okhrimenko</string-name>
          <email>andrew.okhrimenko@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Denys Navrotskyi</string-name>
          <email>d.navrotskyi@nau.edu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dmytro Proskurin</string-name>
          <email>dmytro.proskurin@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bohdan Horbakha</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Mariupol State University</institution>
          ,
          <addr-line>6 Preobrazhenska str., Kyiv, 03037</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Aviation University</institution>
          ,
          <addr-line>1 Liubomyra Huzara ave, Kyiv, 03058</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>63</fpage>
      <lpage>71</lpage>
      <abstract>
        <p>Equipped with the latest image processing systems, sensors, and high-resolution cameras, they can conduct real-time aerial photography, monitor enemy activity, and gather critical intelligence without putting the military at risk. UAVs make it possible to conduct long-term operations in conditions of secrecy, providing commanders with valuable information for making strategic decisions. However, the issue of ensuring the confidentiality of critical data (images) collected using UAVs remains unresolved. In this paper universal dataset of cryptographic algorithms is proposed and it uses a neural network model to select the optimal encryption algorithm. To form such a dataset, it was necessary to evaluate the speed and security of the cryptographic algorithms as well as other important parameters. The developed dataset in synthesis with a neural network model can be used to select the optimal crypto algorithm. In further research, the authors plan to determine the criteria for using the generated dataset by neural networks and develop a knowledge base for neural network training.</p>
      </abstract>
      <kwd-group>
        <kwd>1 UAV</kwd>
        <kwd>image</kwd>
        <kwd>security</kwd>
        <kwd>confidentiality</kwd>
        <kwd>cryptography</kwd>
        <kwd>cryptographic algorithm</kwd>
        <kwd>encryption</kwd>
        <kwd>data transfer</kwd>
        <kwd>surveillance</kwd>
        <kwd>neural network</kwd>
        <kwd>dataset</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In the modern world, unmanned aerial vehicles
(UAV) play a key role in many areas of human
activity – from civil services and logistics to
reconnaissance and warfare [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. However, such
use of UAVs requires data (images) security, that
is transmitting from the onboard computer and
input devices to the control point of the UAV. In
particular, it is important to ensure the
confidentiality of such images as a basic
cybersecurity feature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>To provide a high level of data confidentiality
cryptographic algorithms can be used. There are
many advanced directions and technologies in
cryptography such as post-quantum cryptography,
quantum key distribution and quantum secure direct
communication, lightweight cryptography, etc.</p>
      <p>Many of these cryptographic methods and
protocols can be used in UAV-based systems for
image encryption. However, its usage depends on
many factors and parameters that should be
analyzed for the development of the universal
cryptosystem.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Literature Review</title>
      <p>
        In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], an analysis of crypto algorithms was
carried out according to several important criteria.
The results of the analysis showed that each
cryptographic algorithm has advantages and
disadvantages—there is no universal crypto
algorithm capable of solving all privacy problems
in UAVs. Given the limited resources in the
process of UAV operation, there is a need to
create a universal set of data—the so-called
dataset (library) of cryptographic algorithms,
which would be able to solve various problems in
constantly changing conditions. In addition, a
relevant and innovative approach today is the use
of artificial intelligence methods (in particular,
neural networks) to select the optimal
cryptographic algorithm from a dataset according
to certain parameters [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4–6</xref>
        ], as well as other
variations of the synthesis of artificial intelligence
models and cryptographic methods [
        <xref ref-type="bibr" rid="ref7 ref8 ref9">7–9</xref>
        ].
      </p>
      <p>
        According to this, the work aims to ensure the
confidentiality of data during transmission from
UAVs due to the use of neural networks and the
creation of a universal dataset of modern
cryptographic algorithms [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ].
      </p>
      <p>For the effective formation of the dataset, it is
also necessary to evaluate the speed of
cryptoalgorithms, their crypto-resistance, etc. In the
future, the developed dataset can be used in
combination with a neural network to select the
optimal encryption algorithm depending on the
operating conditions of the UAV.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Research Results</title>
    </sec>
    <sec id="sec-4">
      <title>3.1. Description of Selected Encryption Algorithms</title>
      <p>To ensure the protection of information in
modern information and communication systems,
a large number of crypto algorithms are presented,
which differ in their basic characteristics
(parameters) - cryptoresistance (to various known
methods of cryptanalysis), speed of cryptographic
data processing, convenience of
software/hardware implementation, etc. Given the
hardware limitations of modern UAVs, the speed
factor and the amount of resources needed to
encrypt information become key characteristics
when choosing an algorithm. Among the
algorithms that, according to the authors, should
be represented in the dataset, the following
symmetric stream and block ciphers were chosen:
Salsa20; PANAMA; HC-256; AES; DES; Triple
DES; Serpent; Blowfish; Twofish; MARS; RC2;
RC6; GOST 28147-89 (DSTU GOST 28147:
2009); Kalyna.
3.1.1 Salsa20</p>
      <p>A crypto algorithm designed by D. Bernstein
and presented at the eSTREAM competition, the
purpose of which was to create European
standards for data encryption transmitted in postal
systems. The algorithm became the winner of the
competition in the first category (stream ciphers
for high-bandwidth software applications). For
implementation, it is necessary to create a key
with a length of 128 or 256 bits, as well as an
initialization vector with a length of 64 bits. The
algorithm uses the following operations:
• Addition of 32-bit numbers.
• Exclusive OR (XOR).
• Bits shift.</p>
      <p>
        The basis of this algorithm is a 64-byte hash
function that works together with a counter and is
20 cycles performed on the internal state. The
disadvantage of Salsa20 is that it can only be used
to protect personal data stored on a PC or hard
disk. Since the integrity of the encrypted text is
not checked, therefore, for more important data, it
is necessary to use authenticated encryption [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
3.1.2 PANAMA
      </p>
      <p>The main transformations of the PANAMA
cipher operate on 32-bit words. This algorithm
can be used for hashing large information arrays.
When used as a stream cipher and generator of
pseudorandom sequences, the algorithm has a
rather long initialization procedure. The field of
use of the algorithm is the encryption of video
information, for example, in the field of pay TV
in this field, where the intensity of the data flow is
very high and a high-performance processor is
used for its processing, an algorithm that uses the
already excessively loaded processor to the
smallest extent is needed. The algorithm itself is
based on a 544-bit state register and an 8192-bit
buffer register. The state of the state register is
updated using parallel nonlinear transformations.
The buffer register is an LFSR, which is similar to
the register used in the SHA hashing algorithm.
The state register consists of seventeen 32-bit
words. The state of the registers can be changed
using two iterations:</p>
      <p>• Push iteration accepts input data but does
not generate output data.</p>
      <p>• Pull iteration does not accept input data but
generates output.</p>
      <p>
        There is also a Blank Pull iteration, which is
similar to the Pull iteration, but the output data is
discarded [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
3.1.3 HC-256
      </p>
      <p>
        HC-256 is a stream encryption algorithm
developed by Wu Hongjun, a cryptographer from
the Singapore Institute of Information and
Communications Research and first published in
2004. A 128-bit version of the cipher was
presented at the aforementioned eSTREAM
competition. The algorithm became one of the
four finalists of the competition in one of the
categories. This algorithm generates a 2128-bit
key sequence using a 256-bit key and a 256-bit
initialization vector. The cipher contains two
secret tables, each of which has 1024 32-bit
elements. At each step, one element from the table
is updated using a nonlinear feedback function,
and after every 2048 steps, all elements of the two
tables will be updated. Such operations as bitwise
exclusive OR, concatenation, shift to the
left/right, and cyclic shift to the right are also used
[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
      <sec id="sec-4-1">
        <title>3.1.4 AES (Rijndael)</title>
        <p>
          A symmetric block encryption algorithm, a
finalist (winner) of the AES competition and
adopted as an American encryption standard by
the US government [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. The algorithm itself
replaced the previous encryption standard - DES
[
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. The AES block size has a fixed length of 128
bits and the key size can be 128/192/256 bits. Data
is represented by 8 bytes. The algorithm itself
includes the following operations: SubBytes
(substitution operation, every 8 bytes are replaced
according to the substitution table), ShiftRows
(shifting the elements of the square), MixColumns
(multiplication by a polynomial modulo),
AddRoundKey (bitwise addition of data with a
round key by module 2 (XOR)), key extension.
AES is a fairly fast encryption algorithm, which
makes it possible to consider it a worthy candidate
for use in modern information and
communication systems, particularly in UAV
systems [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
3.1.5 DES
        </p>
        <p>
          A symmetric encryption algorithm that was the
US encryption standard from 1976 to the end of
the 1990s and over time gained international use
in various countries around the world. Even from
the time of its development, the algorithm caused
mixed reviews, as it contained classified elements
of its structure - there were fears about the
possibility of control by the US National Security
Agency. The algorithm encrypts data in blocks of
64 bits, and the key length is 56 bits. The
following operations are used in the encryption
process: shuffling, substitution, XOR, key
expansion, and cyclic shift. Currently, DES is
considered unreliable mainly due to the small key
length (56 bits) and block size (64 bits) [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], but
its use in the created dataset is due to experimental
research to compare it with other algorithms. In
1999, the DES key was publicly cracked at
10 p.m. 15 min. and also proved that DES is not
resistant to linear cryptanalysis. The algorithm is
believed to be robust enough to be used in a
3DES modification, although theoretical attacks
have been developed.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>3.1.6 Triple DES (3DES)</title>
        <p>
          A block symmetric cipher that applies the
mentioned DES algorithm three times to each
block of data. It was created in 1978 based on the
DES algorithm to eliminate the main drawback of
the latter - the short length of the key (56 bits),
which can be broken (chosen) by the sorting
method. The 3DES algorithm works 3 times
slower than DES, but its crypto resistance is much
greater – the time required for 3DES cryptanalysis
is 109 times greater than for DES. The length of
the key is 192 bits, but it is 168 bits long, because
as in DES, in which a 64-bit key is divided into 8
bytes, only 7 bits are used in each byte, so the key
length is 56 bits. Similar to DES, the encryption
process uses operations such as shuffling,
substitution, XOR, key expansion, and cyclic
shift. The main advantage of the algorithm is its
high crypto resistance, however, it has a low speed
of data encryption [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
3.1.7 RC2
        </p>
        <p>The algorithm was developed in the late 1980s
and is the property of RSA Data Security. The
development of the algorithm was initiated and
partially sponsored by Lotus, which needed a
robust encryption algorithm for use in the Lotus
Notes system. The stability of the algorithm was
checked by the US National Security Agency,
certain recommendations were also formulated
and implemented by the developers. Encryption
takes place in blocks of 64 bits using keys of
variable size: from 8 to 1024 bits inclusive (the
recommended key size is 64 bits). The RC2
algorithm is a Feistel network, in which 18 rounds
of transformations are performed, which are
divided into 2 types:
• Mixed rounds (mix).
• Meshed rounds (mesh).</p>
        <p>
          Also, the following operations are used in the
algorithm: bitwise logical operation AND, bitwise
complement to x, cyclic shift to the left by the
number of bits determined by the substitution
table, and key expansion procedure. According to
studies of the impact of differential and linear
cryptanalysis on the algorithm, the following
result was obtained: the algorithm is not
vulnerable to an attack by the method of linear
cryptanalysis, but it can theoretically be revealed
by the method of differential cryptanalysis [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>3.1.8 Serpent</title>
        <p>
          Block encryption algorithm, which was one of
the finalists of the second stage of the AES
competition. The size of the block is 128 bits, the
length of the key can be 128/192/256 bits, and the
algorithm itself has 32 rounds (16 were initially
planned, but to counter unknown methods of
cryptanalysis, it was increased to 32). Serpent is
an SP network, meaning it has permutation tables
as well as permutation tables. The algorithm has
key expansion operations, linear transformations,
as well as inverse linear transformations (for
decryption). During the development and analysis
of the Serpent algorithm, no vulnerabilities were
found in the full 32-round version (as well as in
the other finalist algorithms). According to the
authors of the algorithm, a new mathematical
theory is needed to break the cipher [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ].
        </p>
      </sec>
      <sec id="sec-4-4">
        <title>3.1.9 Blowfish</title>
        <p>
          A block symmetric algorithm developed by
B. Schneier in 1993, is not patented and freely
distributed. The length of the key can be from 32
to 448 bits, and the length of the block is 32 bits.
The algorithm is a Feistel network and,
accordingly, includes such operations as XOR,
substitution tables, and addition [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. Regarding
the crypto-resistance of the algorithm, it is
possible to note the developed attack that made it
possible to break the 3-iteration Blowfish – it is
based on the fact that the addition modulo 232 and
XOR operations are not commutative. Successful
attacks are only possible due to implementation
errors. That is why Blowfish has proven itself as
a reliable algorithm, it is used, in particular, in
SSH (transport layer), PuTTY (transport layer),
OpenVPN, etc. [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ].
3.1.10 Twofish
        </p>
        <p>
          A symmetric block encryption algorithm
developed by a group of specialists led by B.
Schneier, who was also (like Serpent) among the
five finalists of the second stage of the AES
competition. The algorithm is developed based on
Blowfish, SAFER, and Square, the block size is
128 bits, and the key length is 256 bits with the
number of rounds being 16. One of its features is
permutation tables, which are formed depending
on the key. The algorithm itself was implemented
as a mixed Feistel network with 4 branches that
modify each other using Hadamard
cryptotransformations. The algorithm includes
such functions as a cyclic shift by 1 bit, as well as
a whitening function. The study of Twofish with
a reduced number of rounds showed that the
algorithm has a large margin of stability, and
compared to the other finalists of the AES
competition, it turned out to be the most stable.
However, its unusual structure and relative
complexity raised some doubts about the quality
of this stability—this is exactly what played
against it at the AES competition [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ].
3.1.11 MARS
        </p>
        <p>A block symmetric algorithm developed by
IBM Corporation. According to the results of the
AES competition, MARS also reached the finals
but lost to Rijndael. MARS is currently distributed
under a royalty-free license. The block size in the
algorithm is 128 bits, and the key size can be from
128 to 448 bits (must be a multiple of 32 bits). In
the encryption process, the algorithm uses the
following operations: addition/subtraction,
exclusive OR, substitution tables, fixed cyclic
shift, and data-dependent cyclic shift,
multiplication modulo 232, key expansion.
According to IBM, the company’s 25-year
cryptanalytic experience is invested in the MARS
algorithm and, along with high cryptographic
stability, the cipher allows effective
implementation even within such limited
frameworks as is characteristic of smart cards,
which allows it to be used in UAVs. From the
point of view of cryptanalysis, there are currently
no effective attacks on this algorithm, but it has
several weaknesses, in particular:</p>
        <p>• Subkeys with a large number of repeated
zeros or ones can lead to effective attacks on MARS
since weak subkeys will be generated based on
them.</p>
        <p>
          • The two least significant bits used in
multiplication are always equal to one, that is, two
input bits are unchanged during the process of
multiplication by the key, as well as two output
bits that are independent of the key [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ].
3.1.12 RC6
        </p>
        <p>
          Developed by RSA Data Security, RC6 is an
evolutionary improvement over its predecessor,
RC5. It was designed specifically for the AES
competition and was one of the finalists. The
algorithm operates on data blocks of 128 bits and
supports key sizes of 128, 192, and 256 bits. RC6
is a parameterized algorithm where the block size,
key size, and number of rounds are adjustable.
The primary innovation of RC6 is the introduction
of integer multiplication as an additional
operation. The algorithm includes operations like
data-dependent rotations, modular addition, and
bitwise XOR. The use of multiplication aims to
provide additional diffusion over RC5 and to
confound linear and differential cryptanalysis
[
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]. The structure of RC6 makes it suitable for
hardware implementation and parallel processing,
which can be advantageous in applications
requiring high-speed encryption.
3.1.13 GOST 28147-89
        </p>
        <p>
          GOST 28147-89 is a Soviet and Russian
government standard symmetric key block cipher.
Developed in the 1970s, the standard had been
marked “Top Secret” and then downgraded to
“Secret” in 1990. It was a Soviet alternative to the
United States’ DES. The algorithm operates on
64-bit data blocks with a key length of 256 bits.
It's a Feistel network of 32 rounds. The key
schedule is simple, and the S-boxes (substitution
boxes) were classified, with a few different sets
known to exist. In the context of the standard, the
algorithm was usually called Magma. The cipher
has been used in various Russian state standards
(STBs) and is used in some Russian cryptographic
systems [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ]. The algorithm is considered secure,
but it's less studied than other contemporary
algorithms.
3.1.14 Kalyna (DSTU 7624:2014)
        </p>
        <p>
          Kalyna is a symmetric block cipher that was
selected as the new encryption standard of
Ukraine. The algorithm was designed to have a
high level of resistance against known
cryptanalytic attacks and to achieve a high-speed
performance on contemporary processors. Kalyna
supports block sizes of 128, 256, or 512 bits and
key sizes that can be either equal to or double the
block size. The cipher's structure is based on a
substitution-permutation network (SPN) and
includes operations like SubBytes, ShiftRows,
MixColumns, and AddRoundKey, similar to
AES. However, Kalyna uses different S-boxes
and has a more complex key schedule. The
development of Kalyna was part of a larger effort
to develop cryptographic standards in Ukraine
that would be free from foreign patents and would
meet the modern international cryptographic
strength criteria [
          <xref ref-type="bibr" rid="ref26 ref27">26, 27</xref>
          ]. The size of the block and
the number of rounds are dependent on the size of
the key (see Table 1).
        </p>
        <p>
          The algorithm itself uses transformation
operations, substitution, and permutation tables,
key expansion, addition modulo 2, linear
transformations, and pre- and post-whitening
[
          <xref ref-type="bibr" rid="ref28">28</xref>
          ]. Studies of the algorithm’s cryptographic
strength have shown only a few effective attacks
on truncated versions of the algorithm, but they
are not practical.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>3.2. Neural network model for determination of the crypto algorithm</title>
      <p>
        Artificial neural networks (ANNs) are
considered tools that can help analyze causal
relationships in complex systems [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. That is
why it was decided to analyze exactly this
approach for choosing a cryptographic algorithm
from the created dataset. A typical algorithm of
ANN operation is shown in Fig. 1.
      </p>
      <p>
        Consider the potential of training a deep neural
network (DNN) with multiple hidden layers, akin
to the human neural system. The efficacy of the
prior generation of neural networks is primarily
confined to SNNs with one or two hidden layers.
This is because training DNNs poses challenges,
often resulting in a final accuracy that is inferior
to SNNs [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]. The main challenges in training
DNNs include the vanishing gradient problem as
the number of hidden layers increases and the
pitfalls of local minima. Structurally, a DNN
resembles a shallow neural network but boasts
more hidden layers and a pronounced hierarchical
structure. One can view DNNs as advancements
over SNNs. Recent advancements in machine
learning have rendered DNNs trainable,
introducing tools like pre-training with RBM and
SAE for smaller datasets. Furthermore, the nature
of certain tasks underscores the viability of
employing DNNs with limited datasets. For
instance, DNNs used in image recognition
typically require more than 104 input variables (a
100×100 pixel image demands 104 input
variables), necessitating the definition of a vast
number of parameters (often exceeding 106).
Thus, while extensive datasets are preferable,
DNNs for specific tasks might only need around
100 input variables, and fewer parameters,
making compact DNNs (with fewer hidden layers
and neurons) adequate [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ].
      </p>
      <p>
        The advantages of employing DNNs with
limited datasets for cryptographic algorithm
determination are evident. Large regression or
classification challenges, previously addressed
using conventional machine learning techniques
(like SNN, SVM, etc.) with small datasets, can
now be tackled using DNNs, yielding superior
accuracy and enhanced generalization [
        <xref ref-type="bibr" rid="ref30 ref31">30, 31</xref>
        ].
This research employs SCS prediction as a case
study to demonstrate that SAE pre-training is a
potent method for DNN regression on small
datasets. Moreover, a fully connected DNN
outperforms both SNN and SVM in terms of
accuracy and generalization. The subsequent
analysis will encompass:
      </p>
      <p>• Data set pre-processing and partitioning
into training/testing subsets.</p>
      <p>• Training of SVM, SNN, and DNN.</p>
      <p>• Evaluation of the trained machine learning
models.</p>
      <p>• Model comparison.</p>
      <p>• Determining accuracy and selecting the
best model.</p>
      <p>• Employing the chosen model for
predictions.</p>
      <p>
        The DNN training process is bifurcated into
pre-training and fine-tuning phases. Our analysis
will also involve training and evaluating a support
vector machine and a shallow neural network to
validate DNN’s superior accuracy. Post the
training of SVM, SNN, and DNN, a summary of
their training/testing accuracies will be drawn and
juxtaposed. The PCA pre-processing adversely
impacts both training and testing accuracies,
potentially due to the loss of non-linear data. The
subsequent segments of this research will rely on
an unprocessed dataset. A fully connected DNN,
encompassing three or more hidden layers,
demonstrates its superiority over shallow ANNs
and support vector machines by achieving
enhanced prediction accuracy and generalization
[
        <xref ref-type="bibr" rid="ref29">29</xref>
        ]. While DNNs paired with extensive datasets
remain the gold standard, DNNs with limited
datasets, supplemented with pre-training, emerge
as a viable alternative when vast datasets are
inaccessible. In this study, we frequently
encounter small datasets, and the challenges at
hand demand fewer input variables.
      </p>
    </sec>
    <sec id="sec-6">
      <title>4. Results of Experiments and Discussion</title>
      <p>To facilitate experimental studies, a dedicated
library was crafted, encompassing all the
aforementioned algorithms in a software format.</p>
      <p>The development leveraged the Python
programming language, and the Pycryptodome
library was employed to instantiate encryption
algorithms. This library boasts pre-compiled
encryption algorithms available in the .pyc
format. The software manifests as a
commandline utility, enabling users to designate files for
encryption, select the desired algorithm, and
determine its operational mode.</p>
      <p>The utility operates as follows:
1. Before initiating any task, users must
activate the virtual environment to access
algorithms from the Pycryptodome library.</p>
      <p>2. If no arguments are provided during utility
execution, or if the utility is invoked with the -h
flag, users are presented with a concise guide on
utility usage in the format below.
python main.py -[enc/dec] [Enc/Dec method] [Mode] [Key] [InFile] [OutFile]
To see supported methods use -&gt; python main.py -s
To see supported modes use -&gt; python main.py -m
where [enc/dec] denotes encryption or decryption,
[Enc/Dec method] specifies the chosen algorithm,
[Mode] indicates the operational mode, [Key]
represents the encryption key, [InFile] is the
source file, and [OutFile] is the destination file.</p>
      <p>Additionally, users can invoke the utility with the
-s or -m flags to peruse available algorithms and
operational modes, respectively.</p>
      <p>3. Upon successful encryption or
decryption, the resultant files are located in
the program's root directory.</p>
      <p>To streamline the software tools'
implementation and facilitate future
enhancements, abstract classes were devised
and housed in the Libs/CryptoAbstract.py
directory. These classes ensure uniformity
across the cryptographic algorithms,
guaranteeing a consistent data input and
output interface. Furthermore, the
Libs/env.py path contains a file that
enumerates dictionaries detailing available
algorithms and their respective operational
modes.</p>
      <p>Each algorithm and its various versions are
stored in a directory with the appropriate name,
and implemented as a class with the following
methods:
• Initialization.
• Block encryption/decryption.</p>
      <p>• Reading the file byte by byte for further
data encryption.</p>
      <p>The software implementation of the
dataset is created in such a way that it can be
modified and supplemented rather quickly in
the future.</p>
      <p>For the experiment, files of various sizes (from
several kilobytes to several gigabytes) were
encrypted. Each file was encrypted by each
algorithm up to 10 times (to increase the accuracy
of the study).</p>
      <p>Experiments were conducted on the following
hardware platform: processor—Intel core i7 (9th
gen); video card – Nvidia Geforce GTX 1060;
RAM—16GB RAM DDR3; operating system –
Windows 10.</p>
      <p>The results of the experiment were processed
and presented in the dataset in the form of a
quantitative assessment—a comparison table
(Table 2) was created with expert assessments of
parameters:
• Data on cryptographic resistance (CRS).
• Cryptographic resistance reserve (FCRS).
• Encryption speed (ECR).
• Extension key (KEA).</p>
      <p>The first two parameters were taken from open
sources, others were verified by experimental
research by the authors.</p>
      <p>In Table 2 numbers from 1 to 10 determine the
effectiveness of the algorithm according to the
specified criterion (1 is the worst score, and 10 is
the best).</p>
      <p>Therefore, a dataset of crypto-algorithms was
created, which can be used to ensure the
confidentiality of data during transmission from
UAVs. This dataset can also be used by ANN to
select one or another encryption algorithm
depending on the given requirements. Next, the
authors plan to select the criteria for the
application of this ANN dataset, after which a
knowledge base for ANN training will be created.</p>
      <p>In the future, a method of increasing the
productivity of ANNs will also be developed.</p>
    </sec>
    <sec id="sec-7">
      <title>5. Conclusions and Future Research</title>
      <p>The research has successfully culminated in
the creation of an open dataset of cryptographic
algorithms. This dataset is designed to bolster the
efficacy of information protection during UAV
transmissions, leveraging the capabilities of
ANNs. As of now, the dataset encompasses a
variety of block and stream cryptographic
algorithms, detailed within this article. The
robustness and performance speed of these
algorithms has been ascertained based on
extensive scientific investigations conducted by
diverse researchers.</p>
      <p>Future endeavors aim to refine the dataset by
incorporating a broader spectrum of algorithms,
including proprietary ones developed by the
authors. Efforts will also be directed towards
optimizing the software rendition of these
algorithms and undertaking supplementary
experiments. These experiments will be geared
towards curating a comprehensive repository of
algorithms tailored for UAV applications,
especially in synergy with ANNs. Furthermore,
the research ambit will be expanded to explore
other challenges associated with UAV operations
that can be addressed using the advanced tools of
ANN.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>The work was carried out as part of the
research project “Intellectualized System of
Secure Transmission of Packet Data based on
Reconnaissance and Search Unmanned Aerial
Vehicle” (#0122U002361), financed by the
Ministry of Education and Science of Ukraine
from 2022–2024.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>X.</given-names>
            <surname>Du</surname>
          </string-name>
          , et al.,
          <source>Data Processing and Encryption in UAV Radar, in: 4th Adv. Information Management</source>
          , Communicates, Electronic and
          <string-name>
            <surname>Automation Control Conf.</surname>
          </string-name>
          (
          <year>2021</year>
          )
          <fpage>1445</fpage>
          -
          <lpage>1450</lpage>
          . doi:
          <volume>10</volume>
          .1109/IMCEC51613.
          <year>2021</year>
          .9482373
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Sokolov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Skladannyi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Platonenko</surname>
          </string-name>
          ,
          <article-title>Video Channel Suppression Method of Unmanned Aerial Vehicles</article-title>
          ,
          <source>in: IEEE 41st International Conference on Electronics and Nanotech-nology</source>
          (
          <year>2022</year>
          )
          <fpage>473</fpage>
          -
          <lpage>477</lpage>
          . doi:
          <volume>10</volume>
          .1109/ELNANO54667.
          <year>2022</year>
          .9927105
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gnatyuk</surname>
          </string-name>
          , et al.,
          <article-title>Analysis of Methods for Ensuring the Confidentiality of Data Transmitted from UAVs, Cybersecur</article-title>
          .: Education, Science, Technology
          <volume>1</volume>
          (
          <issue>17</issue>
          ) (
          <year>2022</year>
          )
          <fpage>167</fpage>
          -
          <lpage>186</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Dong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <source>Neural Cryptography based on Complex-Valued Neural Network, IEEE Transactions on Neural Networks and Learning Systems</source>
          <volume>31</volume>
          (
          <issue>11</issue>
          ) (
          <year>2020</year>
          )
          <fpage>4999</fpage>
          -
          <lpage>5004</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Jhajharia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mishra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bali</surname>
          </string-name>
          ,
          <article-title>Public Key Cryptography using Neural Networks and Genetic Algorithms</article-title>
          ,
          <source>in 6th International Conference on Contemporary Computing (IC3)</source>
          (
          <year>2013</year>
          )
          <fpage>137</fpage>
          -
          <lpage>142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Hao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Yao</surname>
          </string-name>
          , Neural Cryptanalysis: Metrics, Methodology, and Applications in CPS Ciphers,
          <source>in IEEE Conference on Dependable and Secure Computing (DSC)</source>
          (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Niemiec</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mehic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Voznak</surname>
          </string-name>
          ,
          <article-title>Security Verification of Artificial Neural Networks Used to Error Correction in Quantum Cryptography, in 26th Telecommunications Forum (TEL-FOR)</article-title>
          , Belgrade, Serbia (
          <year>2018</year>
          )
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          . doi:
          <volume>10</volume>
          .1109/TELFOR.
          <year>2018</year>
          .8612006
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>G.</given-names>
            <surname>Das</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kule</surname>
          </string-name>
          ,
          <article-title>A New Error Correction Technique in Quantum Cryptography using Artificial Neural Networks</article-title>
          ,
          <source>in IEEE 19th India Council International Conference (INDICON)</source>
          , Kochi, India (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          . doi:
          <volume>10</volume>
          .1109/INDICON56171.
          <year>2022</year>
          .10040091
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Rahnama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sadeghian</surname>
          </string-name>
          ,
          <article-title>A Review of Applications of Artificial Neural Networks in Cryptosystems</article-title>
          , in World Automation Congress,
          <string-name>
            <surname>Waikoloa</surname>
          </string-name>
          (
          <year>2008</year>
          )
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>B.</given-names>
            <surname>Bebeshko</surname>
          </string-name>
          , et al.,
          <source>Application of Game Theory</source>
          ,
          <article-title>Fuzzy Logic and Neural Networks for Assessing Risks and Forecasting Rates of Digital Currency</article-title>
          ,
          <source>Journal of Theoretical and Applied Information Technology</source>
          <volume>100</volume>
          (
          <issue>24</issue>
          ) (
          <year>2022</year>
          )
          <fpage>7390</fpage>
          -
          <lpage>7404</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>K.</given-names>
            <surname>Khorolska</surname>
          </string-name>
          , et al.,
          <article-title>Application of a Convolutional Neural Network with a Module of Elementary Graphic Primitive Classifiers in the Problems of Recognition of Drawing Documentation and Transformation of 2D to 3D Models</article-title>
          ,
          <source>Journal of Theoretical and Applied Information Technology</source>
          <volume>100</volume>
          (
          <issue>24</issue>
          ) (
          <year>2022</year>
          )
          <fpage>7426</fpage>
          -
          <lpage>7437</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bernstein</surname>
          </string-name>
          ,
          <article-title>The Salsa20 Family of Stream Ciphers</article-title>
          ,
          <source>in New Stream Cipher Designs, Lecture Notes in Computer Science</source>
          <volume>4986</volume>
          (
          <year>2008</year>
          ). doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>540</fpage>
          -68351-
          <issue>3</issue>
          _
          <fpage>8</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Panama</given-names>
            <surname>Stream Cipher</surname>
          </string-name>
          (
          <year>2012</year>
          ). http://nightcrowlwing.blogspot.com/
          <year>2012</year>
          /10/panamastream-cipher.html
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>H.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <source>A New Stream Cipher HC-256, Lecture Notes in Computer Science</source>
          <volume>3017</volume>
          (
          <year>2004</year>
          ). doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>540</fpage>
          -25937-4_
          <fpage>15</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>NIST. Advanced Encryption Standard</surname>
          </string-name>
          (
          <year>2021</year>
          ). https://csrc.nist.gov/publications/detail/fips/197/final
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>R.</given-names>
            <surname>Davis</surname>
          </string-name>
          ,
          <article-title>The Data Encryption Standard in Perspective</article-title>
          ,
          <source>in: IEEE Communications Society Magazine</source>
          <volume>16</volume>
          (
          <issue>6</issue>
          ) (
          <year>1978</year>
          )
          <fpage>5</fpage>
          -
          <lpage>9</lpage>
          . doi:
          <volume>10</volume>
          .1109/
          <string-name>
            <surname>MCOM</surname>
          </string-name>
          .
          <year>1978</year>
          .1089771
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>J.</given-names>
            <surname>Thakur</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.</surname>
          </string-name>
          <article-title>Kumar, DES, AES and Blowfish: Symmetric Key Cryptography Algorithms Simulation Based Performance Analysis</article-title>
          .
          <source>International Journal of Emerging Technology and Advanced Engineering</source>
          <volume>1</volume>
          (
          <issue>2</issue>
          ) (
          <year>2011</year>
          )
          <fpage>6</fpage>
          -
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <fpage>RC2</fpage>
          .
          <article-title>Block Cipher with Symmetric Secret Key (</article-title>
          <year>2020</year>
          ). http://www.crypto-it.net/eng/ symmetric/rc2.html
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>R.</given-names>
            <surname>Anderson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Biham</surname>
          </string-name>
          , L. Knudsen,
          <article-title>Serpent: A Proposal for the Advanced Encryption Standard (</article-title>
          <year>2000</year>
          ). https://www.cl.cam.ac.uk/ ~rja14/Papers/serpent.pdf
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>T.</given-names>
            <surname>Gonzalez</surname>
          </string-name>
          , A reflection attack on Blowfish (
          <year>2007</year>
          ). http://karbalus.free.fr/sat/docsat/PaperGonzalezTom.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>O.</given-names>
            <surname>Kara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Manap</surname>
          </string-name>
          ,
          <article-title>A New Class of Weak Keys for Blowfish, in Fast Software Encryption</article-title>
          .
          <source>FSE 2007, Lecture Notes in Computer Science</source>
          <volume>4593</volume>
          (
          <year>2007</year>
          ). doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>540</fpage>
          -74619-5_
          <fpage>11</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>B.</given-names>
            <surname>Schneier</surname>
          </string-name>
          , et al.,
          <source>The Twofish Encryption Algorithm: A 128-Bit Block Cipher</source>
          . New York City: John Wiley &amp; Sons (
          <year>1999</year>
          ).
          <source>isbn: 0-471-35381-7</source>
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kelsey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schneier</surname>
          </string-name>
          , MARS Attacks!
          <article-title>Preliminary Cryptanalysis of Reduced-Round MARS Variants</article-title>
          .
          <source>AES Candidate Conference</source>
          (
          <year>2000</year>
          )
          <fpage>169</fpage>
          -
          <lpage>185</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>S.</given-names>
            <surname>Haykin</surname>
          </string-name>
          ,
          <string-name>
            <surname>Neural Networks</surname>
            :
            <given-names>A Comprehensive</given-names>
          </string-name>
          <string-name>
            <surname>Foundation</surname>
          </string-name>
          .
          <source>The Knowledge Engineering Review</source>
          <volume>13</volume>
          (
          <issue>4</issue>
          ) (
          <year>1999</year>
          )
          <fpage>409</fpage>
          -
          <lpage>412</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>L.</given-names>
            <surname>Juracy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Garibotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Moraes</surname>
          </string-name>
          ,
          <article-title>From CNN to DNN Hardware Accelerators: A Survey on Design, Exploration</article-title>
          , Simulation, and
          <string-name>
            <surname>Frameworks</surname>
          </string-name>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Hu</surname>
          </string-name>
          , et al.,
          <article-title>High-Speed and Secure PRNG for Crypto-Graphic Applications</article-title>
          ,
          <source>International Journal of Computer Network and Information Security</source>
          <volume>1</volume>
          (
          <issue>3</issue>
          ) (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sovin</surname>
          </string-name>
          , et al.,
          <source>Efficient Implementation and Performance Comparison of “Kalyna” and GOST 28147-89 Ciphers using Vector Extensions SSE, AVX, and AVX-512. Information Protection</source>
          <volume>21</volume>
          (
          <issue>4</issue>
          ) (
          <year>2019</year>
          )
          <fpage>207</fpage>
          -
          <lpage>223</lpage>
          . doi:
          <volume>10</volume>
          .18372/24107840.21.14266
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <source>[28] DSTU</source>
          <volume>7624</volume>
          :
          <year>2014</year>
          ,
          <string-name>
            <given-names>Information</given-names>
            <surname>Technology</surname>
          </string-name>
          .
          <source>Cryptographic Protection of Information</source>
          .
          <article-title>Algorithm for Symmetric Block Transformation</article-title>
          . http://online.budstandart.com/ ua/catalog/doc-page?id_doc=
          <fpage>65314</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>H.</given-names>
            <surname>Bhadeshia</surname>
          </string-name>
          ,
          <source>Neural Networks in Materials Science. ISIJ International</source>
          <volume>39</volume>
          (
          <issue>10</issue>
          ) (
          <year>1999</year>
          )
          <fpage>966</fpage>
          -
          <lpage>979</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>V.</given-names>
            <surname>Zhebka</surname>
          </string-name>
          , et al.,
          <article-title>Optimization of Machine Learning Method to Improve the Management Efficiency of Heterogeneous Telecommunication Network</article-title>
          ,
          <source>in: Workshop on Cybersecurity Providing in Information and Telecommunication Systems</source>
          , vol.
          <volume>3288</volume>
          (
          <year>2022</year>
          )
          <fpage>149</fpage>
          -
          <lpage>155</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>Z. B.</given-names>
            <surname>Hu</surname>
          </string-name>
          , et al.,
          <source>Authentication System by Human Brainwaves Using Machine Learning and Artificial Intelligence</source>
          , in: Advances in Computer Science for Engineering and
          <string-name>
            <surname>Education IV</surname>
          </string-name>
          (
          <year>2021</year>
          )
          <fpage>374</fpage>
          -
          <lpage>388</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          -80472-5_
          <fpage>31</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>