{"title":"Pengamanan Pesan Menggunakan Algoritma One Time Pad dengan Linear Congruential Generator sebagai Pembangkit Kunci","authors":"Jamilatul Maghfiroh, Turmudi Turmudi, Ellys Susanti","doi":"10.18860/jrmm.v2i3.16770","DOIUrl":null,"url":null,"abstract":"Cryptography is one method that can be used to secure a message by hiding the original text. This study uses the One Time Pad (OTP) algorithm to secure a message and the Linear Congruential Generator (LCG) algorithm as a key generator. The purpose of this study is to describe the key generation process using the LCG algorithm, the encryption and decryption process of messages using the OTP algorithm. The process of encrypting and decrypting messages using the OTP algorithm requires a key as long as the original message and must be random. Therefore, a random number generation process is carried out using the LCG algorithm before encoding the message. The results of this study are the LCG algorithm is able to build dynamic keys with the condition that the length of the period must be greater than or equal to the length of the plaintext. The process of encoding messages using the OTP algorithm has a high level of security because the number of characters used is more and the process of sending messages is easier. The resulting ciphertext is a very random and unreadable message that is difficult to decipher.","PeriodicalId":270235,"journal":{"name":"Jurnal Riset Mahasiswa Matematika","volume":"198 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Riset Mahasiswa Matematika","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.18860/jrmm.v2i3.16770","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
密码学是一种可以通过隐藏原始文本来保护消息的方法。本研究使用One Time Pad (OTP)算法来保护讯息,并使用线性同余生成器(Linear Congruential Generator, LCG)算法作为密钥生成器。本研究的目的是描述使用LCG算法的密钥生成过程,以及使用OTP算法的消息加解密过程。使用OTP算法加密和解密消息的过程需要一个与原始消息一样长的密钥,并且必须是随机的。因此,在对消息进行编码之前,使用LCG算法进行随机数生成过程。本研究的结果是LCG算法能够在周期长度必须大于等于明文长度的条件下构建动态密钥。使用OTP算法对消息进行编码的过程具有很高的安全性,因为使用的字符数量更多,发送消息的过程也更容易。由此产生的密文是一个非常随机和不可读的消息,很难破译。
Pengamanan Pesan Menggunakan Algoritma One Time Pad dengan Linear Congruential Generator sebagai Pembangkit Kunci
Cryptography is one method that can be used to secure a message by hiding the original text. This study uses the One Time Pad (OTP) algorithm to secure a message and the Linear Congruential Generator (LCG) algorithm as a key generator. The purpose of this study is to describe the key generation process using the LCG algorithm, the encryption and decryption process of messages using the OTP algorithm. The process of encrypting and decrypting messages using the OTP algorithm requires a key as long as the original message and must be random. Therefore, a random number generation process is carried out using the LCG algorithm before encoding the message. The results of this study are the LCG algorithm is able to build dynamic keys with the condition that the length of the period must be greater than or equal to the length of the plaintext. The process of encoding messages using the OTP algorithm has a high level of security because the number of characters used is more and the process of sending messages is easier. The resulting ciphertext is a very random and unreadable message that is difficult to decipher.