Encryption and Decryption Application on Images with Hybrid Algorithm Vigenere and RSA

Radifan Darari, E. Winarko, A. Damayanti
{"title":"Encryption and Decryption Application on Images with Hybrid Algorithm Vigenere and RSA","authors":"Radifan Darari, E. Winarko, A. Damayanti","doi":"10.20473/CONMATHA.V2I2.23855","DOIUrl":null,"url":null,"abstract":"Digital image is digital pictures on a two-dimensional plane which consists of pixels, where every pixels has Red, Green, Blue (RGB) with varying intensity depending on the image. In this thesis digital image is encrypted using hybrid algorithm Vigenere and RSA. Vigenere algorithm is a symmetric key algorithm which is a variety from Caesar algorithm where the similarity is in both of them are based on shifting the index of alphabet letters. RSA algorithm are based on the difficulty of factorizing large numbers that have 2 and only 2 factors (Prime numbers). The encryption process starts with getting the RGB intensity of each pixels from the image, then the RGB values are encrypted using Vigenere algorithm, after that RSA Algorithm encrypt those values, the values of RSA Algorithm encryption are limited so the value can be within the intervals of RGB values and the after limitation the values after being limited become the RGB values in the encrypted image. The decryption process is the inverse of encryption process, which enables the encrypted image to become the initial image before encryption. The program for encrypting and decrypting image are made using Java programming language with Netbeans IDE 8.2 software. The result of this implementation on image file donbass.jpg with the length of Vigenere key of 5 those are k1=144, k2=166 , k3=38 , k4=204 , k5=98, and RSA Algorithm keys are n=2201, e=1139, d=59, the results from the encrypted image is a visually very different image from the initial image. While in the decryption process, the encrypted image is able to be decrypted back to the initial image.","PeriodicalId":119993,"journal":{"name":"Contemporary Mathematics and Applications (ConMathA)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-12-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Contemporary Mathematics and Applications (ConMathA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20473/CONMATHA.V2I2.23855","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Digital image is digital pictures on a two-dimensional plane which consists of pixels, where every pixels has Red, Green, Blue (RGB) with varying intensity depending on the image. In this thesis digital image is encrypted using hybrid algorithm Vigenere and RSA. Vigenere algorithm is a symmetric key algorithm which is a variety from Caesar algorithm where the similarity is in both of them are based on shifting the index of alphabet letters. RSA algorithm are based on the difficulty of factorizing large numbers that have 2 and only 2 factors (Prime numbers). The encryption process starts with getting the RGB intensity of each pixels from the image, then the RGB values are encrypted using Vigenere algorithm, after that RSA Algorithm encrypt those values, the values of RSA Algorithm encryption are limited so the value can be within the intervals of RGB values and the after limitation the values after being limited become the RGB values in the encrypted image. The decryption process is the inverse of encryption process, which enables the encrypted image to become the initial image before encryption. The program for encrypting and decrypting image are made using Java programming language with Netbeans IDE 8.2 software. The result of this implementation on image file donbass.jpg with the length of Vigenere key of 5 those are k1=144, k2=166 , k3=38 , k4=204 , k5=98, and RSA Algorithm keys are n=2201, e=1139, d=59, the results from the encrypted image is a visually very different image from the initial image. While in the decryption process, the encrypted image is able to be decrypted back to the initial image.
Vigenere和RSA混合算法在图像加解密中的应用
数字图像是由像素组成的二维平面上的数字图像,其中每个像素都有红、绿、蓝(RGB),其强度随图像的不同而变化。本文采用Vigenere和RSA混合算法对数字图像进行加密。Vigenere算法是一种对称密钥算法,它是Caesar算法的变种,两者的相似度都是基于移动字母的索引。RSA算法是基于分解具有2且只有2个因子的大数(素数)的难度。加密过程首先从图像中获取每个像素的RGB强度,然后使用Vigenere算法对RGB值进行加密,然后使用RSA算法对这些值进行加密,RSA算法加密的值被限制在RGB值的区间内,限制后的值成为加密图像中的RGB值。解密过程是加密过程的逆过程,加密后的图像成为加密前的初始图像。采用Java编程语言和Netbeans IDE 8.2软件编写了图像加密和解密程序。对图像文件donbass.jpg进行加密处理,密钥长度为k1=144, k2=166, k3=38, k4=204, k5=98, RSA算法密钥为n=2201, e=1139, d=59,加密后的图像在视觉上与初始图像有很大不同。而在解密过程中,可以将加密后的图像解密回初始图像。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信