arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.01463cs.CE
收藏

一种名为 Latin Djokovic 的真实加密与解密算法

An Authentic Algorithm for Ciphering and Deciphering Called Latin Djokovic

Diogen Babuc

AI总结:

本文提出 Latin Djokovic 加密算法,融合 Playfair、Caesar 与 Vigenere 的思想,通过按子字符串递增加密位移实现多表替换的字符串加密和解密。

摘要:

撰写本文的动机问题是,在科学世界中有多少人投身于发现新事物;在这个世界中,许多东西已被辨别和揭示,但与此同时,仍有许多东西是未知的。该算法富有洞见的元素来自 Playfair、Caesar 和 Vigenere 的加密与解密算法。本文只选取并修改了它们的少数主要特性,目的是形成名为 Latin Djokovic 的算法的特定功能。具体而言,输入一个字符串作为输入数据。给定一个密钥 k,其随机值位于 a 与 b=a+3 之间。所得值存储在一个变量中,以便在算法运行期间保持恒定。结合给定密钥,该字符串被划分为若干子字符串组,每个子字符串的长度为 k 个字符。下一步涉及对现有子字符串列表中的每个子字符串进行编码。编码使用 Caesar 算法的基础来执行,即按 k 个字符进行移位。然而,当移动到该列表中的下一个子字符串时,该 k 会增加 1。当 k 的值变得大于 b+1 时,它将返回其初始值。算法按照相同过程执行,直到遍历列表中的最后一个子字符串。使用这种多表替换方法,实现了字符串的加密和解密。该算法也适用于 100 个字符的字符串。当某个子字符串中的字符数与预期长度不兼容时,不使用 x 字符。该算法实现简单,但从执行时间和存储空间的角度来看,它是否优于其他方法仍存在疑问。

英文摘要:

The question that is a motivation of writing is how many devote themselves to discovering something in the world of science where much is discerned and revealed, but at the same time, much is unknown. The insightful elements of this algorithm are the ciphering and deciphering algorithms of Playfair, Caesar, and Vigenere. Only a few of their main properties are taken and modified, with the aim of forming a specific functionality of the algorithm called Latin Djokovic. Specifically, a string is entered as input data. A key k is given, with a random value between the values a and b = a + 3. The obtained value is stored in a variable with the aim of being constant during the run of the algorithm. In correlation to the given key, the string is divided into several groups of substrings, and each substring has a length of k characters. The next step involves encoding each substring from the list of existing substrings. Encoding is performed using the basis of the Caesar algorithm, i.e., shifting with k characters. However, that k is incremented by 1 when moving to the next substring in that list. When the value of k becomes greater than b + 1, it will return to its initial value. The algorithm is executed, following the same procedure, until the last substring in the list is traversed. Using this polyalphabetic method, ciphering and deciphering of strings are achieved. The algorithm also works for a 100-character string. The x character is not used when the number of characters in a substring is incompatible with the expected length. The algorithm is simple to implement, but it is questionable if it works better than the other methods from the point of view of execution time and storage space.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑