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

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

?? pascal.txt

?? 一個我自用的BLOWFISH源碼VC++環境.有不完善的地方還請各位大俠指點~!
?? TXT
字號:

                                    BF-SDK
                                    ~~~~~~
                                     V1.1

                               Pascalinterface
                               ~~~~~~~~~~~~~~~

                    (c) 1996 Cedric Reinartz & Markus Hahn


This documentation helps you to use the pascal interface in your own 
program. You need to include the unit BLOWFISH.TPU in your programm. 
It should be sufficient to use the provided one which was compiled with
the default parameters. For changing the parameters please see ASM.TXT.

The following type declarations are made in BLOWFISH.TPU:

  ULONG = Longint;     { unsigned 32bit }
  UINT  = Word;        { unsigned 16bit }
  UCHAR = Byte;        { unsigned 8bit }
  BOOL  = Word;        { 16bit boolean }
  P_UCHAR_Buffer = ^T_UCHAR_Buffer;
  T_UCHAR_Buffer = array[0..MAXDATA-1] of UCHAR;
  P_UINT_Buffer  = ^T_UINT_Buffer;
  T_UINT_Buffer  = array[0..(MAXDATA div 2)-1] of UINT;
  P_ULONG_Buffer = ^T_ULONG_Buffer;
  T_ULONG_Buffer = array[0..(MAXDATA div 4)-1] of ULONG;

You need this declarations to understand and use the following 
descriptions. See also PAS_DEMO.PAS for reference.



Functions
~~~~~~~~~

Blowfish_Init(pKey : P_UCHAR_Buffer; unKeySize : UINT);

 Function   : Initialises the Boxes
 Argument   : Pointer to the Password (which is NOT a string)
              Length of the Password
 Return     : none
 Description: A Password with a maximum of 56 Bytes is used to encrypt the
              Boxes. These encrypted boxes are vital for the further encryption
              process with Blowfish_(CBC)Encrypt and Blowfish_(CBC)Decrypt.
              If you want to change the password at runtime you have to restore
              the original contents of the boxes before you can use this
              function again (See Blowfish_GetBoxes and Blowfish_SetBoxes).

-------------------------------------------------------------------------------

Blowfish_WeakKey : BOOL;

 Function   : Test if the generated Boxes are weak
 Argument   : none
 Return     : Status (1=weak, 0=good)
 Description: After "Blowfish_InitCrypt" you should test the Boxes with this 
              function. If they provide a weakness which a cryptoanalyst could
              use to break the cipher a "1" is returned. In this case you
              should reload the original boxes and let the user choose a
              different password.

-------------------------------------------------------------------------------

Blowfish_ECBEncrypt(pBuffer : P_ULONG_Buffer; unCount : UINT);

 Function   : Encrypts a plaintext string using the ECB method
 Argument   : Pointer to the plaintext
              Length of the plaintext
 Return     : none
 Description: This function encrypts (multiple) blocks of 8 Bytes of plaintext
              using the ECB method (blocks are not chained). The generated 
              ciphertext will overwrite the plaintext. Thus the plaintext-
              pointer will point to the ciphertext after the encryption. The 
              length of the plaintext must be a multiple of 8. If it is not,
              plaintext bytes will be left at the end of the ciphertext.

-------------------------------------------------------------------------------

Blowfish_ECBDecrypt(pBuffer : P_ULONG_Buffer; unCount : UINT);

 Function   : Decrypts a ciphertext string using the ECB method
 Argument   : Pointer to the ciphertext
              Length of the ciphertext
 Return     : none
 Description: This function decrypts (multiple) blocks of 8 Bytes of cipher-
              text using the ECB method (blocks are not chained). The generated
              plaintext will overwrite the ciphertext. Thus the ciphertext-
              pointer will point to the plaintext after the decryption. The 
              length of the ciphertext must be a multiple of 8. If it is not, 
              ciphertext bytes will be left at the end of the plaintext.

-------------------------------------------------------------------------------

Blowfish_CBCEncrypt(pBuffer : P_ULONG_Buffer; unCount : UINT;
                              var ulCBCLeft, ulCBCRight : ULONG);

 Function   : Encrypts a plaintext string using the CBC method
 Argument   : Pointer to the plaintext
              Length of the plaintext
              Lower part of the IV
              Upper part of the IV
 Return     : none
 Description: This function encrypts (multiple) blocks of 8 Bytes of plaintext
              using the CBC method (blocks are chained using an initialisation
	      vector IV). The generated ciphertext will overwrite the plain-
	      text. Thus the plaintext-pointer will point to the ciphertext 
	      after the encryption. The length of the plaintext must be a
	      multiple of 8. If it is not, plaintext bytes will be left at the
	      end of the ciphertext. The IV must not be secret. For different
	      encryptions you can choose the same IV but if possible you should
	      use different ones to improve security. 
	      Note: you need the original IV for decryption.


-------------------------------------------------------------------------------

Blowfish_CBCDecrypt(pBuffer : P_ULONG_Buffer; unCount : UINT;
                              var ulCBCLeft, ulCBCRight : ULONG);

 Function   : Decrypts a ciphertext string using the CBC method
 Argument   : Pointer to the ciphertext
              Length of the ciphertext
              Lower part of the IV
              Upper part of the IV
 Return     : none
 Description: This function decrypts (multiple) blocks of 8 Bytes of ciphertext
              using the CBC method (blocks are chained using an initialisation
	      vector IV). The generated plaintext will overwrite the cipher-
	      text. Thus the ciphertext-pointer will point to the plaintext 
	      after the decryption. The length of the ciphertext must be a
	      multiple of 8. If it is not, ciphertext bytes will be left at the
	      end of the plaintext.
	      Note: The IV is the same used on encryption.

-------------------------------------------------------------------------------

Blowfish_Done;

 Function   : Clears the Boxes
 Argument   : none
 Return     : none
 Description: Clears the contents of the P- and S-Boxes. This should be used
              before you exit your program to make sure that no one can get
              your Key.

-------------------------------------------------------------------------------

Blowfish_SetRounds(Rounds : UINT): UINT;

 Function   : Set number of rounds. Returns number of rounds.
 Argument   : # of rounds = 16, 32 or 2-32. See variable RNDS in ASM.TXT
 Return     : number of rounds
 Description: You always have to give a Argument. If BFENG386.ASM was compiled
              with "rnds equ 3" you are able to set the number of rounds 
              between 2 and 32. This function always returns the number of
              rounds actual used. If you supply an invalid argument nothing
              is changed and the currently used number of rounds is returned.
              For more details see variable RNDS in ASM.TXT.

-------------------------------------------------------------------------------

Blowfish_GetBoxes(pBuffer : P_ULONG_Buffer);

 Function   : Copies the actual P- and S-Boxes to a user buffer
 Arguments  : Pointer to the user buffer
 Return     : none
 Description: Use this to save the original Boxes. If you want to change the
              Password at runtime you have to restore these Boxes first. 
              You can also save the encrypted Boxes and restore them if needed.
              In this way you are able to swap Passwords at high speed.
              The needed buffer size is 1042 for rnds=1 and 1058 for rnds=2 or 
              rnds=3 (see ASM.TXT for the meaning of "rnds").

-------------------------------------------------------------------------------

Blowfish_SetBoxes(pBuffer : P_ULONG_Buffer);

 Function   : Copies a user buffer to the P- and S-Boxes
 Arguments  : Pointer to the user buffer
 Return     : none
 Description: Use this to restore the Boxes with previously saved ones.
              See description of "Blowfish_GetBoxes".

-------------------------------------------------------------------------------

Blowfish_GetBoxPointer : Pointer;

 Function   : Returns a Pointer to the beginning of PBox in DX:AX
 Arguments  : none
 Return     : pointer to the Boxes
 Description: For a reason I do not know the pointer is sometimes wrong,
              so verify this! Normaly there is no need to use this function.


- eof -

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚州韩日在线看免费版国语版| 精品国免费一区二区三区| 欧美视频在线播放| 久久精品一区蜜桃臀影院| 一区二区三区精品在线| 狠狠v欧美v日韩v亚洲ⅴ| 在线观看国产精品网站| 精品av综合导航| 亚洲一区二区欧美| 99国产欧美另类久久久精品| 精品三级在线看| 午夜久久久久久| 91麻豆123| 国产精品美女久久久久高潮| 激情偷乱视频一区二区三区| 欧美日韩精品欧美日韩精品一 | 激情综合色综合久久| 91蜜桃免费观看视频| 久久久www成人免费无遮挡大片| 丝袜美腿亚洲一区| 在线视频你懂得一区二区三区| 久久亚洲捆绑美女| 久久99这里只有精品| 欧美精品亚洲一区二区在线播放| 亚洲日本在线看| 成人av动漫在线| 国产欧美va欧美不卡在线| 久久66热偷产精品| 欧美变态口味重另类| 日韩av网站在线观看| 欧美午夜不卡视频| 亚洲一级二级在线| 欧美综合欧美视频| 亚洲曰韩产成在线| 欧美日韩另类一区| 亚洲午夜免费视频| 欧美日韩成人综合在线一区二区 | 久久综合久久综合九色| 韩日av一区二区| 国产色91在线| 不卡的电视剧免费网站有什么| 欧美极品少妇xxxxⅹ高跟鞋 | 日韩一区在线看| 99久久综合色| 亚洲最色的网站| 欧美日韩亚洲综合一区二区三区 | 国产精品乡下勾搭老头1| 久久精品欧美一区二区三区麻豆| 欧美群妇大交群的观看方式| 一区二区三区中文在线观看| 欧美日韩第一区日日骚| 久久99九九99精品| 欧美国产视频在线| 欧美做爰猛烈大尺度电影无法无天| 亚洲一区二区欧美日韩| 日韩午夜激情视频| 处破女av一区二区| 亚洲综合清纯丝袜自拍| 欧美一区二区三区日韩| 国产剧情一区二区三区| 亚洲婷婷综合久久一本伊一区 | 91小视频免费看| 亚洲国产三级在线| 精品免费一区二区三区| 成人app网站| 亚洲一区欧美一区| 精品对白一区国产伦| 94色蜜桃网一区二区三区| 亚洲高清不卡在线| 国产午夜亚洲精品不卡| 在线视频中文字幕一区二区| 美女网站色91| 亚洲男女一区二区三区| 亚洲国产va精品久久久不卡综合| 91精品欧美久久久久久动漫| 成人综合在线网站| 蜜臀av性久久久久蜜臀aⅴ| 国产精品国产三级国产普通话三级 | 国产精品久久久久久久午夜片 | 国产亚洲精品7777| 精品视频在线免费看| 国产乱码精品一区二区三区av| 日韩一区中文字幕| 欧美成人一区二区三区| 色哟哟亚洲精品| 国产成人精品一区二| 亚洲国产成人porn| 中文字幕一区三区| 欧美成人a在线| 欧美日韩久久久一区| 95精品视频在线| 国产福利视频一区二区三区| 麻豆精品一二三| 婷婷丁香久久五月婷婷| 亚洲摸摸操操av| 欧美极品xxx| 久久综合九色综合久久久精品综合| 欧美美女视频在线观看| 91在线精品一区二区三区| 国产在线精品免费| 日本不卡高清视频| 亚洲最大的成人av| 亚洲精品写真福利| 国产精品久久久久久久久久免费看| 精品国产免费人成电影在线观看四季| 欧美视频一区二区在线观看| 色婷婷久久久综合中文字幕 | 美国三级日本三级久久99| 亚洲制服欧美中文字幕中文字幕| 国产精品久久久久久久久快鸭 | 在线视频中文字幕一区二区| av电影在线观看完整版一区二区| 国产精品99久| 国产福利91精品| 国产不卡视频在线播放| 国产成人在线观看免费网站| 国产精品69毛片高清亚洲| 国产精品一区免费视频| 国产不卡免费视频| 国产成人午夜视频| 成人久久视频在线观看| 99久久99久久精品免费看蜜桃| 成人免费看的视频| 91热门视频在线观看| 色哟哟日韩精品| 欧美日韩国产影片| 91精品国产综合久久久蜜臀粉嫩| 欧美一级艳片视频免费观看| 欧美一级淫片007| 久久精品一区二区三区不卡牛牛| 国产亚洲女人久久久久毛片| 亚洲欧洲国产日韩| 一区二区欧美视频| 爽好多水快深点欧美视频| 男人的天堂久久精品| 紧缚奴在线一区二区三区| 成人性生交大片免费看视频在线| 99在线精品一区二区三区| 日本韩国视频一区二区| 欧美精品日韩一本| 精品国产制服丝袜高跟| 国产精品视频免费| 一区二区三区加勒比av| 另类小说欧美激情| 波多野洁衣一区| 欧美精品国产精品| 国产色91在线| 亚洲综合久久av| 激情五月激情综合网| 色偷偷久久一区二区三区| 日韩女优制服丝袜电影| 国产精品国产三级国产有无不卡 | 综合在线观看色| 日韩av在线发布| 成人免费av资源| 欧美日韩免费一区二区三区| 久久久蜜桃精品| 亚洲国产aⅴ天堂久久| 国产精品一区二区久久精品爱涩| 日本精品免费观看高清观看| 欧美精品一区二区三区蜜臀| 亚洲午夜精品17c| 成人开心网精品视频| 欧美一区二区三区四区久久| 亚洲欧美在线另类| 九色综合狠狠综合久久| 91精彩视频在线| 中文字幕第一区二区| 免费观看日韩电影| 91色|porny| 国产精品天美传媒| 麻豆精品久久久| 欧美日韩精品一区二区三区蜜桃 | 色哟哟日韩精品| 国产欧美综合在线观看第十页| 天堂在线一区二区| 一本大道综合伊人精品热热| 久久久久久久久99精品| 蜜臀av一区二区在线观看| 色偷偷成人一区二区三区91| 国产精品无码永久免费888| 激情五月婷婷综合| 日韩视频中午一区| 午夜精品久久久久久久久| 色呦呦网站一区| 日韩一区中文字幕| av爱爱亚洲一区| 国产色婷婷亚洲99精品小说| 精品综合久久久久久8888| 欧美日本不卡视频| 亚洲国产va精品久久久不卡综合| 91色|porny| 一区二区视频在线| 一本一本大道香蕉久在线精品| 国产精品三级视频| 成人在线综合网站| 久久久99久久| 国产在线看一区| 91精品国产黑色紧身裤美女| 亚洲成人av福利|