freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于c#的文檔加密器的實(shí)現(xiàn)—論文(文件)

 

【正文】 7 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3,8 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0 15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6,13 通過(guò)表 5 可以看到,在 S1中共有 4行數(shù)據(jù),分別命名為 0, 1, 2, 3行,每行有 16 列,分 別命名為 0, 1, 2, 3, ? , 14, 15 列。故 Key 實(shí)際可用 位數(shù)只有 56位。 以上介紹了 DES 算法的加密過(guò)程。 (二) int Ddes(char *data, char *key, int readlen) 參數(shù) : (長(zhǎng)度為 readlen, 可能經(jīng)過(guò)填充 。 說(shuō)明 : 用戶(hù)僅僅輸入一條密鑰 , 所有的加密密鑰都是由這條密鑰生成 . (四) int Ddes3(char *data, char*key, int n , int readlen) 參數(shù) : (長(zhǎng)度為 readlen, 可能經(jīng)過(guò)填充 。 說(shuō)明 : 這里用戶(hù)通過(guò)輸入的密鑰條數(shù)決 定加密的層數(shù) , 每輪 16 次迭代加密所使用的加密密鑰是由用戶(hù)自定的對(duì)應(yīng)密鑰生成 。 DES算法的應(yīng)用誤區(qū)及避開(kāi)方法 DES 算法具有極高的安全性,到目前為止,除了用窮舉搜索法對(duì) DES算法進(jìn)行攻擊外,還沒(méi)有發(fā)現(xiàn)更有效的辦法。因此 ,在實(shí)際應(yīng)用中,應(yīng)避開(kāi)使用第 8, 16, 24, ? ,64位作為 DES 密鑰的有效數(shù)據(jù)位,才能保 證 DES算法安全可靠。 目前 加密算法 已被廣泛的應(yīng)用,隨著信息化和數(shù)字化社會(huì)的發(fā)展,隨著計(jì)算機(jī) Inter 的普及,密碼學(xué)必將在國(guó)家安全、經(jīng)濟(jì)交流、網(wǎng)絡(luò)安全及人民生活等方面發(fā)揮更大作用 。 加密功能待完成網(wǎng)絡(luò)方面數(shù)據(jù)流加密 節(jié)點(diǎn)加密和節(jié)點(diǎn)解密。 程序結(jié)構(gòu)圖 圖 2 程序結(jié)構(gòu)圖 為 加密控件 按鈕添加事件處理程序,這段程序的功能是將選定的文件加密 , 獲得待加密文件名 、 獲得保存文件名 、 創(chuàng)建文件流分別指向輸入和輸出文件 , 根據(jù)密碼算出密鑰并保存到選定的文件中去,代碼如下 : private void encode_Click(object sender, EventArgs e) {//獲得待加密文件名 string inName = 。 //根據(jù)密碼算出密鑰 string keyString = 。 } //創(chuàng)建文件流分別指向輸入和輸出文件 FileStream fin = new FileStream(inName , , )。 //代表已加密的流的大小 int plete = 0。 CryptoStream encStream = new CryptoStream(fout , (desKey, desIV), )。 } //關(guān)閉流 ()。 } 為 解密控件 按鈕添加 事件處理程序, 這段程序的功能是將選定的文件解密,并保存到選定的文件中去,代碼如下: private void decode_Click(object sender, EventArgs e) { string inName = 。 string keyString = 。 } try { FileStream fin = new FileStream(inName , , )。 long totlen = 。//創(chuàng)建 DES對(duì)象 CryptoStream desStream = new CryptoStream(fout, (desKey , desIV) , )。 } ()。 (文件解密已經(jīng)完成 , 提示 , , )。分為 2個(gè)大的模塊,一是文件加密的GROUPBOX1,二是文件解密 GROUPBOX2。如果我們不通過(guò)解密想查看其 .mef 文件中的內(nèi)容,用其他方式打開(kāi)該文件只能獲得一些毫無(wú)價(jià)值的亂碼信息。這里我兩次密碼設(shè)定為1234567。調(diào)用 DES 加密類(lèi)進(jìn)行加密,加密結(jié)果寫(xiě)入新建的文件 中。數(shù)據(jù)解密完成該軟件也有相應(yīng)的提示入圖所示。 4密碼 長(zhǎng)度未大于 6位, 長(zhǎng)度一致內(nèi)容一致 如 password1=cuit, password2=cuit。 2未選擇輸出文件名和路徑 save_address =“” 。對(duì)用戶(hù)在日常工作中保證文檔數(shù)據(jù)安全具有一定的實(shí)用價(jià)值。盡管如此,通過(guò)對(duì)這個(gè)軟件的設(shè)計(jì),我還是學(xué)習(xí)到很多 的東西,這對(duì)于我本人來(lái)說(shuō),是一個(gè)相當(dāng)大的進(jìn)步。除非另有說(shuō)明,本文的工作是原始性工作。 ( 4)學(xué)??稍试S學(xué)位論文被查閱或借閱。t they? Hannah washed and ironed them for me, and I marked them all myself, said Beth, looking proudly at the somewhat uneven letters which had cost her such labor. Bless the child! She39。t that right? I thought it was better to do it so, because Meg39。s all right, dear, and a very pretty idea, quite sensible too, for no one can ever mistake now. It will please her very much, I know, said Meg, with a frown for Jo and a smile for Beth. There39。m truly trying not to be selfish any more. As she spoke, Amy showed the handsome flask w hich replaced the cheap one, and looked so earnest and humble in her little effort to fet herself that Meg hugged her on the spot, and Jo pronounced her `a trump39。m so glad you came before we began! May I go and help carry the things to the poor little children? asked Beth eagerly. I shall take the cream and the muffings, added Amy, heroically giving up the article she most liked. Meg was already covering the buckwheats, and piling the bread into one big plate. I thought you39。s loving our neighbor better than ourselves, and I like it, said Meg, as they set out their presents while their mother was upstairs collecting clot。 ever since she was born. That was a very happy breakfast, though they didn39。m so glad, for mine is the handsom est now. Another bang of the street door sent the basket under the sofa, and the girls to the table, eager for breakfast. Merry Christmas, Marmee! Many of them! Thank you for our books. We read some, and mean to every day, they all cried in chorus. Me rry Christmas, little daughters! I39。t laugh at me, Jo! I didn39。t want anyone to use these but Marmee, said Be th。 on them instead of `M. March39。 除非另有科研合同和其他法律文書(shū)的制約 ,本論文的科研成果屬于成都信息工程學(xué)院。 ( 2)學(xué)校可以采用影印、縮印或其他復(fù)制方式保存學(xué)位論文。在此向他表示我最衷心的感謝! 在論文完成過(guò)程中,本人還得到了 我們系 其他老師和許多同學(xué)的熱心幫助,本人向他們表示深深的謝意! 最后向在百忙之中評(píng)審本文的各位專(zhuān) 家、老師表示衷心的感謝! 作者簡(jiǎn)介: 姓 名:李朝陽(yáng) 性別:男 出生年月: 19831220 民族:漢 Email: 聲 明 本論文的工作是 2021 年 2 月至 2021 年 6 月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成的。如該軟件只能對(duì)單機(jī)用戶(hù)加密,沒(méi)有涉及網(wǎng)絡(luò)加密范疇。 結(jié) 論 在本次開(kāi)發(fā)中,我們以 C為開(kāi)發(fā)語(yǔ)言,在 .Net 環(huán)境中開(kāi)發(fā)了一個(gè)文檔加密器。 6未選取加密文件保存路徑文件名 save_address = “” 。 2 兩 次 密 碼 長(zhǎng)度 不 一 致 , 密 碼 長(zhǎng) 度 大 于 6 ,如password1==2021031306。 圖 6 解密成功圖 示 解密過(guò)程是:用文件流方式解密文件,對(duì)整個(gè)文件數(shù)據(jù)讀取。表明你在密碼的設(shè)定兩次都是符合長(zhǎng)度大于 6內(nèi)容還一致的,也選擇了加密文件和保存文件路徑,并且路徑是合法的。加密時(shí)可以對(duì)文件點(diǎn)擊瀏覽按紐進(jìn)行選取,也可以直接在對(duì)話(huà)框中直接輸 入。只有滿(mǎn)足選取了加密文件、設(shè)定了輸出文件名和密碼且符合密碼長(zhǎng)度大于 6 和兩次密碼一致,這些的限制條件才能夠進(jìn)行文件的加密。//密碼不正確的警告 } } } 圖 3加密初始界面 這里是加密器開(kāi)發(fā)完成時(shí)的,未進(jìn)行文件加密和解密工作時(shí)的圖形示范。 ()。 (bin, 0, 100)。//每次寫(xiě)入的大小 byte[] bin = new byte[100]。 (0)。 } if ( == 6) { desKey = new byte[]{(byte)keyString[0] , (byte)keyString[1], (byte)keyString[2], (byte)keyString[3] , (byte)keyString[4] ,(byte)keyString[5], 0x07, 0x08}。//獲得要保存的文件名 byte[] desIV = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }。 ()。 (bin, 0, len)。 //代表要加密文件總的大小 long totlen = 。 (0)。 } if ( == 6) DES 加密 文檔 加 密 文檔 解密 選擇加密對(duì)話(huà)框 選擇保存對(duì)話(huà)框 設(shè)置密碼 確認(rèn)密碼 選擇加密文件 輸出文件名選擇 輸入密碼
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1