<td id="n3ws3"></td>
          <th id="n3ws3"></th>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
            <del id="n3ws3"><form id="n3ws3"></form></del>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
          1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
            DES3_CBC
            帶向量的3DES加解密函數(shù)

            參數(shù)列表:

            DES3_CBC

            (

            unsigned char cModel,  

            unsigned char *pKey,

            unsigned char *In, 

            unsigned char *Out, 

            unsigned char *pIV

            )


            參數(shù)含義:

            參數(shù)

            類型

            方向

            含義

            cModel

            unsigned char

            IN

            加解密模式選擇:

            0x00->加密

            0x01->解密

            pkey

            unsigned char*

            IN

            加解密密鑰,16個字節(jié)

            in

            unsigned char*

            IN

            原始數(shù)據(jù),8個字節(jié)

            out

            unsigned char*

            out

            加解密后的數(shù)據(jù),8個字節(jié)

            pIV

            unsigned char*

            IN

            加解密向量,8個字節(jié)


            C++聲明(VC++和C++ Builder):

            int stdcall DES3_CBC(unsigned char cModel,  unsigned char *pKey,unsigned char *In, unsigned char *Out, unsigned char *pIV);


            Delphi聲明:

            function DES3_CBC(cModel:Byte;pkey: PChar;InData:PChar;OutData:PChar;pIV:PChar): Integer;stdcall;external YOWOREADERDLL;


            VB聲明:

            Public Declare Function DES3_CBC Lib "YW60x.dll" (ByVal cModel As Byte, ByRef pkey As Byte, ByRef InData As Byte, ByRef OutData As Byte, ByRef pIV As Byte) As Long


            JAVA聲明:

            public int DES3_CBC(byte cModel, Pointer pKey,Pointer pInData, Pointer pOutData, Pointer pIV)

            {

            int ret;

            try

            {

            JNative fuc = new JNative("YW60x.dll", "DES3_CBC");

            fuc.setRetVal(Type.INT);

            fuc.setParameter(0, cModel);

            fuc.setParameter(1,pKey);

            fuc.setParameter(2,pInData);

            fuc.setParameter(3,pOutData);

            fuc.setParameter(4,pIV);

            fuc.invoke();

            ret = fuc.getRetValAsInt();

            }

            catch(NativeException e)

            {

            ret = -1;

            }

            catch(IllegalAccessException e)

            {

            ret = -2;

            }

            return ret;

            }


            C#聲明:

            [DllImport("YW60x.dll")]

            public static extern int DES3_CBC(byte cModel, byte [] pKey,byte [] pInData, byte [] pOutData, byte [] pIV);


            Power Builder 9 聲明:

            public FUNCTION long DES3_CBC(char cModel, ref char pkey[], ref char InData[], ref char OutData[], ref char pIV[]) library "YW60x.dll"


            支持的RFID讀寫器:
            SDT-HA, YW-606PA, YW-606PB, YW-606PC, YW-605RA, YW-605RB, YW-605RC, YW-605SA, YW-605SB, YW-605SC, YW-605UA, YW-605UB, YW-605UC, YW-605HA, YW-605HB, YW-605HC, YW-620HA, YW-620HB, YW-620HC, YW-608RA, YW-608RB, YW-608RC, YW-608SA, YW-608SB, YW-608SC, YW-608UA, YW-608UB, YW-608UC, YW-608HA, YW-608HB, YW-608HC, YW-610SA, YW-610SB, YW-610SC, YW-602-R, YW-602-U, YW-602-3, YW-602-8, YW-652, YW-655, YW-657, YW-656, YW-607

              <td id="n3ws3"></td>
                    <th id="n3ws3"></th>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                      <del id="n3ws3"><form id="n3ws3"></form></del>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                    1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
                      天堂网在线最新香蕉视频 | 国产小说一区二区三区 | 免费观看黄色一级视频 | 欧美三级片视频在线播放 | 百万国产精品视频 |