AES-256 CTR mode Image Encryption/Decrypti​on

AES-256 CTR (counting) mode Image Encryption/Decryption. Uses java library for encryption and decryption.

이 제출물을 팔로우합니다

Input a hexadecimal 256-bit AES key (AESkey), an image file name that needs to be either encoded or decoded, and the filename where you want the encoded/decoded image saved. This uses JAVA libraries to perform the image encryption/decryption but you can use my AES MATLAB code to perform the same operations natively. The randomly assigned initiation vector during encoding is converted to hexadecimal and stored as a comment when saving the .png encrypted image file. Recommend always using the .png file or another image file that does not compress and still has the ability to save a comment.
%encodes image
encodedImage3Dmatrix = AESimageEncryption(originalImageFilename,AESkey, encodedImageOutputFilename);
imshow(encodedImage3Dmatrix);
%decodes image
decodedImage3Dmatrix = decodeAESimage(encryptedImageFilename,AESkey,decodedImageOutputFilename);
imshow(decodedImage3Dmatrix);

인용 양식

David Hill (2026). AES-256 CTR mode Image Encryption/Decryption (https://kr.mathworks.com/matlabcentral/fileexchange/183738-aes-256-ctr-mode-image-encryption-decryption), MATLAB Central File Exchange. 검색 날짜: .

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.2

Change code section in description to remove IV input/output.

1.0.1

Embedded initiation vector into the encrypted image (.png) comment.

1.0.0