Cargando…
A Cipher Based on Prefix Codes
A prefix code, a P-code, is a code where no codeword is a prefix of another codeword. In this paper, a symmetric cipher based on prefix codes is proposed. The simplicity of the design makes this cipher usable for Internet of Things applications. Our goal is to investigate the security of this cipher...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8472931/ https://www.ncbi.nlm.nih.gov/pubmed/34577442 http://dx.doi.org/10.3390/s21186236 |
_version_ | 1784574861022068736 |
---|---|
author | Grošek, Otokar Hromada, Viliam Horák, Peter |
author_facet | Grošek, Otokar Hromada, Viliam Horák, Peter |
author_sort | Grošek, Otokar |
collection | PubMed |
description | A prefix code, a P-code, is a code where no codeword is a prefix of another codeword. In this paper, a symmetric cipher based on prefix codes is proposed. The simplicity of the design makes this cipher usable for Internet of Things applications. Our goal is to investigate the security of this cipher. A detailed analysis of the fundamental properties of P-codes shows that the keyspace of the cipher is too large to mount a brute-force attack. Specifically, in this regard we will find bounds on the number of minimal P-codes containing a binary word given in advance. Furthermore, the statistical attack is difficult to mount on such cryptosystem due to the attacker’s lack of information about the actual words used in the substitution mapping. The results of a statistical analysis of possible keys are also presented. It turns out that the distribution of the number of minimal P-codes over all binary words of a fixed length is Gaussian. |
format | Online Article Text |
id | pubmed-8472931 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-84729312021-09-28 A Cipher Based on Prefix Codes Grošek, Otokar Hromada, Viliam Horák, Peter Sensors (Basel) Article A prefix code, a P-code, is a code where no codeword is a prefix of another codeword. In this paper, a symmetric cipher based on prefix codes is proposed. The simplicity of the design makes this cipher usable for Internet of Things applications. Our goal is to investigate the security of this cipher. A detailed analysis of the fundamental properties of P-codes shows that the keyspace of the cipher is too large to mount a brute-force attack. Specifically, in this regard we will find bounds on the number of minimal P-codes containing a binary word given in advance. Furthermore, the statistical attack is difficult to mount on such cryptosystem due to the attacker’s lack of information about the actual words used in the substitution mapping. The results of a statistical analysis of possible keys are also presented. It turns out that the distribution of the number of minimal P-codes over all binary words of a fixed length is Gaussian. MDPI 2021-09-17 /pmc/articles/PMC8472931/ /pubmed/34577442 http://dx.doi.org/10.3390/s21186236 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Grošek, Otokar Hromada, Viliam Horák, Peter A Cipher Based on Prefix Codes |
title | A Cipher Based on Prefix Codes |
title_full | A Cipher Based on Prefix Codes |
title_fullStr | A Cipher Based on Prefix Codes |
title_full_unstemmed | A Cipher Based on Prefix Codes |
title_short | A Cipher Based on Prefix Codes |
title_sort | cipher based on prefix codes |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8472931/ https://www.ncbi.nlm.nih.gov/pubmed/34577442 http://dx.doi.org/10.3390/s21186236 |
work_keys_str_mv | AT grosekotokar acipherbasedonprefixcodes AT hromadaviliam acipherbasedonprefixcodes AT horakpeter acipherbasedonprefixcodes AT grosekotokar cipherbasedonprefixcodes AT hromadaviliam cipherbasedonprefixcodes AT horakpeter cipherbasedonprefixcodes |