资源简介
用matlab来实现仿射密码,主要是现代密码学课上的实验。
代码片段和文件信息
function varargout = encodeAndDecode(varargin)
% ENCODEANDDECODE M-file for encodeAndDecode.fig
% ENCODEANDDECODE by itself creates a new ENCODEANDDECODE or raises the existing
% singleton*.
%
% H = ENCODEANDDECODE returns the handle to a new ENCODEANDDECODE or the handle to
% the existing singleton*.
%
% ENCODEANDDECODE(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in ENCODEANDDECODE.M with the given input arguments.
%
% ENCODEANDDECODE(‘Property‘‘Value‘...) creates a new ENCODEANDDECODE or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before encodeAndDecode_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to encodeAndDecode_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
% Copyright 2002-2003 The MathWorks Inc.
% Edit the above text to modify the response to help encodeAndDecode
% Last Modified by GUIDE v2.5 27-Sep-2017 17:20:56
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @encodeAndDecode_OpeningFcn ...
‘gui_OutputFcn‘ @encodeAndDecode_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 encodeAndDecode is made visible.
function encodeAndDecode_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 encodeAndDecode (see VARARGIN)
% Choose default command line output for encodeAndDecode
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes encodeAndDecode wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = encodeAndDecode_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 com
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2435 2017-10-11 17:43 MATLAB实现反射密码\encodeAndDecode.fig
文件 8731 2017-10-11 17:43 MATLAB实现反射密码\encodeAndDecode.m
目录 0 2017-12-02 17:05 MATLAB实现反射密码\
- 上一篇:matlab链接.txt
- 下一篇:小波去噪几种方法对比
评论
共有 条评论