• 大小: 693KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: Matlab
  • 标签: matlab加密  RSA系统  

资源简介

框架为基于MATLB的图像加密解密系统。采用2种方法,分别是arnold和混沌系列加密解密,带有一个GUI界面,把两种算法做进一个GUI界面,很好看,对比加密前后图像,并且后续可增加评判标准。

资源截图

代码片段和文件信息

function varargout = GUI(varargin)
% GUI MATLAB code for GUI.fig
%      GUI by itself creates a new GUI or raises the existing
%      singleton*.
%
%      H = GUI returns the handle to a new GUI or the handle to
%      the existing singleton*.
%
%      GUI(‘CALLBACK‘hobjecteventDatahandles...) calls the local
%      function named CALLBACK in GUI.M with the given input arguments.
%
%      GUI(‘Property‘‘Value‘...) creates a new GUI or raises the
%      existing singleton*.  Starting from the left property value pairs are
%      applied to the GUI before GUI_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to GUI_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE‘s Tools menu.  Choose “GUI allows only one
%      instance to run (singleton)“.
%
% See also: GUIDE GUIDATA GUIHANDLES

% Edit the above text to modify the response to help GUI

% Last Modified by GUIDE v2.5 29-Mar-2020 13:15:46

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘       mfilename ...
                   ‘gui_Singleton‘  gui_Singleton ...
                   ‘gui_OpeningFcn‘ @GUI_OpeningFcn ...
                   ‘gui_OutputFcn‘  @GUI_OutputFcn ...
                   ‘gui_LayoutFcn‘  []  ...
                   ‘gui_Callback‘   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
    gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT


% --- Executes just before GUI is made visible.
function GUI_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to GUI (see VARARGIN)

% Choose default command line output for GUI
handles.output = hobject;

% Update handles structure
guidata(hobject handles);

% UIWAIT makes GUI wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = GUI_OutputFcn(hobject eventdata handles) 
% varargout  cell array for returning output args (see VARARGOUT);
% hobject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;



function edit1_Callback(hobject eventdata handles)
% hobject    handle to edit1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hobject‘String‘) returns contents of edit1 as text
%        str2do

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-12-01 18:42  MATLAB图像加密解密GUI\
     文件      266232  2016-04-10 21:32  MATLAB图像加密解密GUI\123.png
     文件       15214  2020-11-26 20:16  MATLAB图像加密解密GUI\GUI.fig
     文件        7132  2020-11-26 20:17  MATLAB图像加密解密GUI\GUI.m
     文件       20401  2012-11-29 19:15  MATLAB图像加密解密GUI\b.jpg
     文件      196662  2020-11-26 20:13  MATLAB图像加密解密GUI\加密后的X.bmp
     文件       23750  2013-01-07 17:22  MATLAB图像加密解密GUI\加密后的b.jpg
     文件      478918  2001-08-16 16:08  MATLAB图像加密解密GUI\密图.bmp
     文件         413  2020-12-01 18:40  MATLAB图像加密解密GUI\打开步骤.txt
     文件       12346  2016-04-10 20:43  MATLAB图像加密解密GUI\解密后的b.jpg

评论

共有 条评论