亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? twofish.h

?? 一款密碼保險箱源碼
?? H
字號:
/*
 * Fast, portable, and easy-to-use Twofish implementation, 
 * Version 0.3.
 * Copyright (c) 2002 by Niels Ferguson.
 *
 * See the twofish.c file for the details of the how and why of this code.
 *
 * The author hereby grants a perpetual license to everybody to
 * use this code for any purpose as long as the copyright message is included
 * in the source code of this or any derived work.
 */


/*
 * PLATFORM FIXES
 * ==============
 *
 * The following definitions have to be fixed for each particular platform 
 * you work on. If you have a multi-platform program, you no doubt have 
 * portable definitions that you can substitute here without changing 
 * the rest of the code.
 *
 * The defaults provided here should work on most PC compilers.
 */


/* 
 * A Twofish_Byte must be an unsigned 8-bit integer.
 * It must also be the elementary data size of your C platform,
 * i.e. sizeof( Twofish_Byte ) == 1.
 */
typedef unsigned char   Twofish_Byte;

/* 
 * A Twofish_UInt32 must be an unsigned integer of at least 32 bits. 
 * 
 * This type is used only internally in the implementation, so ideally it
 * would not appear in the header file, but it is used inside the
 * Twofish_key structure which means it has to be included here.
 */
typedef unsigned int    Twofish_UInt32;


/*
 * END OF PLATFORM FIXES
 * =====================
 * 
 * You should not have to touch the rest of this file, but the code
 * in twofish.c has a few things you need to fix too.
 */


/*
 * Structure that contains a prepared Twofish key.
 * A cipher key is used in two stages. In the first stage it is converted
 * form the original form to an internal representation. 
 * This internal form is then used to encrypt and decrypt data. 
 * This structure contains the internal form. It is rather large: 4256 bytes
 * on a platform with 32-bit unsigned values.
 *
 * Treat this as an opague structure, and don't try to manipulate the
 * elements in it. I wish I could hide the inside of the structure,
 * but C doesn't allow that.
 */
typedef 
    struct 
        {
        Twofish_UInt32 s[4][256];   /* pre-computed S-boxes */
        Twofish_UInt32 K[40];       /* Round key words */
        }
    Twofish_key;


/*
 * Initialise and test the Twofish implementation. 
 * 
 * This function MUST be called before any other function in the 
 * Twofish implementation is called.
 * It only needs to be called once.
 * 
 * Apart from initialising the implementation it performs a self test.
 * If the Twofish_fatal function is not called, the code passed the test.
 * (See the twofish.c file for details on the Twofish_fatal function.)
 */
extern void Twofish_initialise();


/*
 * Convert a cipher key to the internal form used for 
 * encryption and decryption.
 * 
 * The cipher key is an array of bytes; the Twofish_Byte type is 
 * defined above to a type suitable on your platform. 
 *
 * Any key must be converted to an internal form in the Twofisk_key structure
 * before it can be used.
 * The encryption and decryption functions only work with the internal form.
 * The conversion to internal form need only be done once for each key value.
 *
 * Be sure to wipe all key storage, including the Twofish_key structure, 
 * once you are done with the key data. 
 * A simple memset( TwofishKey, 0, sizeof( TwofishKey ) ) will do just fine.
 *
 * Unlike most implementations, this one allows any key size from 0 bytes 
 * to 32 bytes. According to the Twofish specifications, 
 * irregular key sizes are handled by padding the key with zeroes at the end 
 * until the key size is 16, 24, or 32 bytes, whichever
 * comes first. Note that each key of irregular size is equivalent to exactly
 * one key of 16, 24, or 32 bytes.
 *
 * WARNING: Short keys have low entropy, and result in low security.
 * Anything less than 8 bytes is utterly insecure. For good security
 * use at least 16 bytes. I prefer to use 32-byte keys to prevent
 * any collision attacks on the key.
 *
 * The key length argument key_len must be in the proper range.
 * If key_len is not in the range 0,...,32 this routine attempts to generate 
 * a fatal error (depending on the code environment), 
 * and at best (or worst) returns without having done anything.
 *
 * Arguments:
 * key      Array of key bytes
 * key_len  Number of key bytes, must be in the range 0,1,...,32. 
 * xkey     Pointer to an Twofish_key structure that will be filled 
 *             with the internal form of the cipher key.
 */
extern void Twofish_prepare_key( 
                                Twofish_Byte key[],
                                int key_len, 
                                Twofish_key * xkey  
                                );


/*
 * Encrypt a single block of data.
 *
 * This function encrypts a single block of 16 bytes of data.
 * If you want to encrypt a larger or variable-length message, 
 * you will have to use a cipher mode, such as CBC or CTR. 
 * These are outside the scope of this implementation.
 *
 * The xkey structure is not modified by this routine, and can be
 * used for further encryption and decryption operations.
 *
 * Arguments:
 * xkey     pointer to Twofish_key, internal form of the key
 *              produces by Twofish_prepare_key()
 * p        Plaintext to be encrypted
 * c        Place to store the ciphertext
 */
extern void Twofish_encrypt( 
                            Twofish_key * xkey,
                            Twofish_Byte p[16], 
                            Twofish_Byte c[16]
                            );


/*
 * Decrypt a single block of data.
 *
 * This function decrypts a single block of 16 bytes of data.
 * If you want to decrypt a larger or variable-length message, 
 * you will have to use a cipher mode, such as CBC or CTR. 
 * These are outside the scope of this implementation.
 *
 * The xkey structure is not modified by this routine, and can be
 * used for further encryption and decryption operations.
 *
 * Arguments:
 * xkey     pointer to Twofish_key, internal form of the key
 *              produces by Twofish_prepare_key()
 * c        Ciphertext to be decrypted
 * p        Place to store the plaintext
 */
extern void Twofish_decrypt( 
                            Twofish_key * xkey,
                            Twofish_Byte c[16], 
                            Twofish_Byte p[16]
                            );

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91视频在线观看| 亚洲第一狼人社区| 欧美一级专区免费大片| 在线观看中文字幕不卡| 色婷婷综合久色| 色综合视频一区二区三区高清| 成+人+亚洲+综合天堂| 成人网在线播放| bt欧美亚洲午夜电影天堂| 国产福利91精品一区二区三区| 国产一区二区三区最好精华液| 蜜臀av在线播放一区二区三区 | 激情小说欧美图片| 另类专区欧美蜜桃臀第一页| 激情五月激情综合网| 国产成人精品一区二区三区四区| 成人免费av网站| 欧美羞羞免费网站| 欧美电影免费观看高清完整版在| 久久先锋资源网| 亚洲国产精品ⅴa在线观看| 亚洲色图丝袜美腿| 亚洲午夜精品网| 黑人巨大精品欧美一区| 成人伦理片在线| 7777女厕盗摄久久久| 精品国产乱码久久久久久1区2区 | 麻豆免费看一区二区三区| 精品一区二区在线播放| 成人福利视频网站| 欧亚一区二区三区| 久久亚洲精精品中文字幕早川悠里 | 国产精品美女www爽爽爽| 亚洲综合在线视频| 蜜臀a∨国产成人精品| 福利一区二区在线| 欧美久久久久久久久| 久久久久国色av免费看影院| 亚洲精选免费视频| 国精产品一区一区三区mba视频| 91在线观看污| 久久久综合精品| 石原莉奈在线亚洲三区| 99在线精品观看| 精品久久久久99| 五月天丁香久久| 97se亚洲国产综合自在线观| 精品日本一线二线三线不卡| 亚洲精品国产无天堂网2021| 国产一区二区毛片| 欧美一区二区三区免费大片| 亚洲欧美日韩一区二区| 国产一区二区三区免费观看| 欧美精品国产精品| 日韩毛片在线免费观看| 国产一区在线看| 欧美一卡二卡在线| 亚洲一区二三区| 色哟哟亚洲精品| 国产精品国产三级国产普通话99| 精品制服美女久久| 日韩欧美一卡二卡| 视频一区欧美精品| 欧美三电影在线| 亚洲图片另类小说| 99国产精品久久久久久久久久 | 成人精品高清在线| 久久免费电影网| 国产一区二区三区精品视频| 91精品国产91热久久久做人人 | 国产三级久久久| 国产在线精品免费| 欧美大片顶级少妇| 日本成人在线网站| 欧美日韩中文字幕一区| 亚洲在线视频免费观看| 欧美性猛片aaaaaaa做受| 日日摸夜夜添夜夜添精品视频| 91原创在线视频| 亚洲精品乱码久久久久| 欧美影视一区在线| 肉色丝袜一区二区| 精品国产乱码久久久久久牛牛 | 在线观看91av| 青草国产精品久久久久久| 在线不卡a资源高清| 丝袜美腿高跟呻吟高潮一区| 制服丝袜国产精品| 毛片av一区二区| 久久无码av三级| 成人午夜av电影| 亚洲午夜一区二区| 欧美日韩高清影院| 蜜桃精品视频在线| 精品日韩欧美一区二区| 高清成人在线观看| 伊人婷婷欧美激情| 日韩欧美中文字幕一区| 国产乱人伦偷精品视频免下载| 久久久国产一区二区三区四区小说 | 91激情在线视频| 日韩主播视频在线| 26uuuu精品一区二区| 成人亚洲精品久久久久软件| 亚洲一级不卡视频| 91精品国产综合久久久久久久| 精品中文av资源站在线观看| 国产精品剧情在线亚洲| 欧美男生操女生| 国产成人精品三级麻豆| 亚洲男人的天堂网| 欧美va亚洲va在线观看蝴蝶网| 不卡av在线免费观看| 天天亚洲美女在线视频| 国产欧美一区二区在线观看| 欧美亚洲高清一区二区三区不卡| 激情五月婷婷综合| 亚洲午夜三级在线| 欧美激情艳妇裸体舞| 欧美欧美欧美欧美| 成人av电影免费在线播放| 日本中文在线一区| 又紧又大又爽精品一区二区| 久久婷婷一区二区三区| 欧美群妇大交群的观看方式| 高清视频一区二区| 日日骚欧美日韩| 亚洲少妇30p| 欧美精品日日鲁夜夜添| 99re这里只有精品首页| 国产精品一区专区| 日本欧美一区二区在线观看| 又紧又大又爽精品一区二区| 国产精品麻豆视频| 日韩欧美国产综合| 欧美精品久久久久久久久老牛影院| 97精品电影院| 成人美女在线观看| 国产成人av一区| 国产精品资源站在线| 免费在线看成人av| 丝袜亚洲另类欧美综合| 午夜私人影院久久久久| 亚洲综合无码一区二区| 亚洲精品成人悠悠色影视| 午夜电影网一区| 亚洲一区av在线| 亚洲成年人影院| 天天色天天爱天天射综合| 亚洲小说春色综合另类电影| 亚洲欧美一区二区三区孕妇| 亚洲欧洲国产日本综合| 国产精品麻豆视频| 国产精品久久久久一区| 国产精品国产精品国产专区不蜜| 国产精品蜜臀在线观看| 国产精品区一区二区三| 国产精品污网站| **性色生活片久久毛片| 亚洲欧美偷拍三级| 亚洲一区二区三区激情| 天天爽夜夜爽夜夜爽精品视频| 日韩国产欧美在线观看| 秋霞影院一区二区| 久久国产剧场电影| 国产成人免费视| av电影天堂一区二区在线观看| 91美女片黄在线观看91美女| 欧美无砖专区一中文字| 日韩午夜激情av| 国产视频一区二区在线观看| 中文字幕视频一区二区三区久| 一区二区三区影院| 日本不卡高清视频| 高清免费成人av| 欧美亚洲综合一区| 久久这里只有精品6| 国产精品成人免费| 首页综合国产亚洲丝袜| 国产精品77777竹菊影视小说| 99精品久久只有精品| 在线播放国产精品二区一二区四区| 精品美女一区二区| 国产精品国产自产拍在线| 午夜精品久久久久久久久久| 国产一区 二区| 欧美日韩精品免费| 国产欧美在线观看一区| 天天av天天翘天天综合网 | 成人午夜视频福利| 欧美色图免费看| 精品毛片乱码1区2区3区| 亚洲色图19p| 国产一区二区导航在线播放| 色婷婷av一区二区三区gif| 日韩亚洲国产中文字幕欧美| 欧美韩国日本一区| 五月婷婷久久综合| 91在线你懂得| 久久久亚洲精品一区二区三区|