91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 12KB
    文件類(lèi)型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-01-11
  • 語(yǔ)言: Matlab
  • 標(biāo)簽: RSA,matalb??

資源簡(jiǎn)介

用MATLABA語(yǔ)言實(shí)現(xiàn)RSA加密算法,加密解密過(guò)程。程序?qū)崿F(xiàn)可生成1024比特密鑰,加密更加安全可靠。

資源截圖

代碼片段和文件信息

function?out?=?decryption(cdn)?
global?padd?s1?s2
cut_length?=?50;

out?=?[];
for?j?=?1:s1
????maple(‘m:=((c&^d)?mod?n)‘);
????m_out?=?maple(‘m‘);

????if?length(m_out)?==?((cut_length*3)-1)
????????m_out?=?[‘0‘?m_out];
????elseif?length(m_out)?==?((cut_length*3)-2)
????????m_out?=?[‘0‘?‘0‘?m_out];
????end
????????
????l?=?1;
????m_out_int?=?[];
????for?k?=?1:length(m_out)/3
????????m_out_temp?=?[m_out(l)?m_out(l+1)?m_out(l+2)];
????????m_out_int_temp?=?str2num(m_out_temp);
????????m_out_int?=?[m_out_int?m_out_int_temp];
????????l?=?l+3;
????end
????out?=?[out?char(m_out_int)];
end

out?=?out(1:((s1*cut_length)-padd));

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件????????654??2009-03-28?09:50??rsa\decryption.m

?????文件????????444??2009-03-28?09:50??rsa\encryption.m

?????文件????????322??2009-03-28?09:47??rsa\ex_decryption.m

?????文件????????620??2009-04-06?17:36??rsa\ex_encryption.m

?????文件?????????29??2009-03-28?11:54??rsa\ex_exit.m

?????文件?????????56??2009-03-28?11:46??rsa\ex_help.m

?????文件???????2291??2009-04-16?19:55??rsa\helpmsg.fig

?????文件???????2897??2009-03-28?11:44??rsa\helpmsg.m

?????文件????????456??2009-03-25?20:14??rsa\intconcat.m

?????文件????????530??2009-03-25?20:12??rsa\mesgcut.m

?????文件????????987??2009-03-26?18:42??rsa\rsa.m

?????文件???????3908??2009-04-06?22:26??rsa\rsa_pro.fig

?????文件??????12180??2009-04-10?22:38??rsa\rsa_pro.m

?????目錄??????????0??2009-04-16?19:56??rsa

-----------?---------??----------?-----??----

????????????????25374????????????????????14


評(píng)論

共有 條評(píng)論

相關(guān)資源