<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">intechngu</journal-id><journal-title-group><journal-title xml:lang="ru">Вестник НГУ. Серия: Информационные технологии</journal-title><trans-title-group xml:lang="en"><trans-title>Vestnik NSU. Series: Information Technologies</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-7900</issn><issn pub-type="epub">2410-0420</issn><publisher><publisher-name>НГУ</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.25205/1818-7900-2024-22-2-33-43</article-id><article-id custom-type="elpub" pub-id-type="custom">intechngu-269</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Статьи</subject></subj-group></article-categories><title-group><article-title>Метод цифровой подписи изображений без дополнительных файлов, с устойчивостью к JPEG-сжатию и удалению метаданных</article-title><trans-title-group xml:lang="en"><trans-title>Digital Signature Method for Images without Additional Files, Robust to JPEG Compression and Metadata Removal</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Мазайшвили</surname><given-names>Е. К.</given-names></name><name name-style="western" xml:lang="en"><surname>Mazaishvili</surname><given-names>E. K.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Мазайшвили Евгений Константинович, аспирант</p><p>Санкт-Петербург</p></bio><bio xml:lang="en"><p>Evgeniy K. Mazaishvili, PhD Student</p><p>Saint Petersburg</p></bio><email xlink:type="simple">evgenij997@yandex.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Авксентьева</surname><given-names>Е. Ю.</given-names></name><name name-style="western" xml:lang="en"><surname>Avksentieva</surname><given-names>Е. Yu.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Авксентьева Елена Юрьевна, PhD</p><p>Санкт-Петербург</p></bio><bio xml:lang="en"><p>Elena Yu. Avksentieva, PhD</p><p>Saint Petersburg</p></bio><email xlink:type="simple">avksentievaelena@rambler.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Университет ИТМО</institution><country>Россия</country></aff><aff xml:lang="en"><institution>ITMO University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2024</year></pub-date><pub-date pub-type="epub"><day>10</day><month>10</month><year>2024</year></pub-date><volume>22</volume><issue>2</issue><fpage>33</fpage><lpage>43</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Мазайшвили Е.К., Авксентьева Е.Ю., 2024</copyright-statement><copyright-year>2024</copyright-year><copyright-holder xml:lang="ru">Мазайшвили Е.К., Авксентьева Е.Ю.</copyright-holder><copyright-holder xml:lang="en">Mazaishvili E.K., Avksentieva Е.Y.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://intechngu.elpub.ru/jour/article/view/269">https://intechngu.elpub.ru/jour/article/view/269</self-uri><abstract><p>Рассмотрен метод цифровой подписи изображений, не использующий метаданные или дополнительные файлы. Цифровой подписью подписывается массив блоков 8 × 8 пикселей c примененным дискретным косинусным преобразованием, из которых состоит JPEG-файл. В качестве алгоритма подписи может быть использован любой известный алгоритм, например, RSA.</p><p>Полученная цифровая подпись преобразуется из бинарного вида в изображение. Метод преобразования основан на кодировании каждых нескольких бит подписи одной из 64 базисных функций дискретного косинусного преобразования. Далее базисная функция преобразуется в изображение обратным дискретным косинусным преобразованием. Полученная подпись, закодированная в виде изображения, присоединяется к исходному изображению справа, чтобы сформировать подписанное изображение.</p><p>Цифровая подпись обладает устойчивостью к JPEG-сжатию в регулируемых пределах. Для достижения устойчивости к сжатию используется следующий метод. Поскольку значения в блоках могут измениться при сжатии, используется квантизация – уменьшение точности значений. Она устроена таким образом, чтобы при квантизации сжатого и несжатого изображений значения в блоках после квантизации совпадали, что позволяет проверить валидность цифровой подписи. Квантизация также включает в себя шаг проверки четности полученного значения для исключения неверной трактовки значений при сильном сжатии.</p><p>Шаг квантизации не применяется к части изображения, содержащей цифровую подпись. Это связано с тем, что эта часть состоит из базисных функций дискретного косинусного преобразования, и даже при сильном сжатии соответствующая базисная функция все равно сохранит большой коэффициент и будет однозначно трактуема.</p></abstract><trans-abstract xml:lang="en"><p>The article discusses a method of digitally signing images that does not use metadata or additional files. The object for signature is an array of 8x8 pixel blocks with a discrete cosine transformation applied, which make up a JPEG file. Any known algorithm can be used as a signature algorithm, for example, RSA.</p><p>The resulting digital signature is converted from a binary form to an image. The conversion method is based on encoding every few bits of the signature of one of the 64 basic functions of the discrete cosine transform. Next, the basic function is transformed into an image by an inverse discrete cosine transformation. The resulting signature, encoded as an image, is attached to the original image on the right to form a signed image.</p><p>The digital signature is resistant to JPEG compression within adjustable limits. The following method is used to achieve compression resistance. Since the values in the blocks can change during compression, quantization is used – reducing the accuracy of the values. It is designed in such a way that when quantizing compressed and uncompressed images, the values in the blocks after quantization are becoming the same, which allows you to verify the validity of the digital signature. Quantization also includes a step of checking the parity of the received value to avoid misinterpretation of values when compression is strong.</p><p>The quantization step does not apply to the part of the image containing the digital signature. This is due to the fact that this part consists of the basic functions of the discrete cosine transform, and even with strong compression, the corresponding basic function will still retain a large coefficient and will be unambiguously interpreted.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>JPEG</kwd><kwd>дискретное косинусное преобразование</kwd><kwd>цифровая подпись</kwd><kwd>сжатие</kwd><kwd>изображение</kwd></kwd-group><kwd-group xml:lang="en"><kwd>JPEG</kwd><kwd>Discrete cosine transform</kwd><kwd>Digital signature</kwd><kwd>Compression</kwd><kwd>Image</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Bellare M., Goldwasser S. Lecture Notes on Cryptography, 2008, с. 168</mixed-citation><mixed-citation xml:lang="en">Bellare M., Goldwasser S. Lecture Notes on Cryptography, 2008, p. 168</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">PDF (Portable Document Format), версия 1.7, ISO 32000-1, 2008 // Библиотека Конгресса. URL: https://www.loc.gov/preservation/digital/formats/fdd/fdd000277.shtml (дата обращения: 11.01.2024).</mixed-citation><mixed-citation xml:lang="en">PDF (Portable Document Format), version 1.7, ISO 32000-1, 2008. Library of Congress. URL: https://www.loc.gov/preservation/digital/formats/fdd/fdd000277.shtml (accessed: 11.01.2024).</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Buchanan W. J. DCT (Дискретное косинусное преобразование) // Теоретические и практические аспекты криптографии. URL: https://asecuritysite.com/comms/dct2 (дата обращения: 24.12.2023).</mixed-citation><mixed-citation xml:lang="en">Buchanan W. J. DCT (Discrete Cosine Transform). Theoretical and practical aspects of cryptography. URL: https://asecuritysite.com/comms/dct2 (accessed: 24.12.2023).</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Abdelhamid A. A., Mona F. M., Mursi A., Alsammak A. K. Data hiding inside JPEG images with high resistance to steganalysis using a novel technique: DCT-M3 // Инженерный журнал Ain Shams. 2018.</mixed-citation><mixed-citation xml:lang="en">Abdelhamid A. A., Mona F. M., Mursi A., Alsammak A. K. Data hiding inside JPEG images with high resistance to steganalysis using a novel technique: DCT-M3. Ain Shams Engineering Journal, 2018.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Griffin J. Полное руководство JPEG, включая сжатие и кодирование // Веб-мастер блог. URL: https://www.thewebmaster.com/jpeg-definitive-guide/ (дата обращения: 10.12.2023).</mixed-citation><mixed-citation xml:lang="en">Griffin J. The Ultimate Guide to JPEG Including JPEG Compression &amp; Encoding. URL: https://www.thewebmaster.com/jpeg-definitive-guide/ (accessed: 10.12.2023)</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
