home *** CD-ROM | disk | FTP | other *** search
/ Chip Special: HTML & Java / Chip-Special_1997-01_HTML-a-Java.bin / actvx31.sdk / coresdk / inetsdk / bin / i386 / api.exe next >
MS-DOS/Windows or OS/2 Executable  |  1996-07-02  |  545.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MS-DOS/Windows or OS/2 Executable (executable/exe).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MS-DOS/Windows or OS/2 Executable (executable/exe) magic Supported
1% dexvert Ady's GLUE Packed (archive/adysGLUEPacked) ext Unsupported
1% dexvert BlacK FiST Packed (archive/blackFiSTPacked) ext Unsupported
1% dexvert CauseWay Compressor Packed (archive/causeWayCompressorPacked) ext Unsupported
1% dexvert CExe Packed (archive/cExePacked) ext Unsupported
1% dexvert cIPHATOR Protected (archive/ciphatorProtected) ext Unsupported
1% dexvert CRYPACK Protected (archive/crypackProtected) ext Unsupported
1% dexvert CRYPTEXE Protected (archive/cryptexeProtected) ext Unsupported
1% dexvert Crypt Light Show Protected (archive/cryptLightShowProtected) ext Unsupported
1% dexvert DaRKSToP Protected (archive/darkstopProtected) ext Unsupported
1% dexvert DiskImager SFX Image (archive/diskImagerSFXImage) ext Unsupported
1% dexvert Dismember EXE CRYPT Protected (archive/dismemberProtected) ext Unsupported
1% dexvert DJP Packed (archive/djpPacked) ext Unsupported
1% dexvert .NETZ Packed (archive/dotNETZPacked) ext Unsupported
1% dexvert DSHIELD Protected (archive/dshieldProtected) ext Unsupported
1% dexvert Exe32Pack Packed (archive/exe32PackPacked) ext Unsupported
1% dexvert ExeHigh Packed (archive/exeHighPacked) ext Unsupported
1% dexvert EXE Manager Protected (archive/exeManagerProtected) ext Unsupported
1% dexvert EXETOOLS Protected (archive/exetoolsProtected) ext Unsupported
1% dexvert EZip Packed (archive/ezipPacked) ext Unsupported
1% dexvert FSG Packed (archive/fsgPacked) ext Unsupported
1% dexvert HackStop Protected (archive/hackStopProtected) ext Unsupported
1% dexvert JMCryptExe Protected (archive/jmCryptExeProtected) ext Unsupported
1% dexvert JDPack Packed (archive/kdPackPacked) ext Unsupported
1% dexvert kkrunchy Packed (archive/kkcrunchPacked) ext Unsupported
1% dexvert mbp SHRINK Packed (archive/mbpSHRINKPacked) ext Unsupported
1% dexvert MEGALITE Packed (archive/megalitePacked) ext Unsupported
1% dexvert Mess Protected (archive/messProtected) ext Unsupported
1% dexvert Mew Packed (archive/mewPacked) ext Unsupported
1% dexvert MPRESS Packed (archive/mpressPacked) ext Unsupported
1% dexvert NOS Packer Packed (archive/nosPackerPacked) ext Unsupported
1% dexvert NTShell Protected (archive/ntShellProtected) ext Unsupported
1% dexvert Pack Master Packed (archive/packMasterPacked) ext Unsupported
1% dexvert PE Diminisher Packed (archive/peDiminisherPacked) ext Unsupported
1% dexvert Petite Packed (archive/petitePacked) ext Unsupported
1% dexvert PeX Packed (archive/pexPacked) ext Unsupported
1% dexvert PKLITE32 Packed (archive/pklite32Packed) ext Unsupported
1% dexvert PowerBatch Packed (archive/powerBatchPacked) ext Unsupported
1% dexvert protector Protected (archive/protectorProtected) ext Unsupported
1% dexvert py2exe Packed (archive/py2exePacked) ext Unsupported
1% dexvert PyInstaller Packed (archive/pyInstallerPacked) ext Unsupported
1% dexvert RERP Packed (archive/rerpPacked) ext Unsupported
1% dexvert Scramb Packed (archive/scrambPacked) ext Unsupported
1% dexvert SECURE Protected (archive/secureProtected) ext Unsupported
1% dexvert Shrinker Packed (Windows) (archive/shrinkerWindowsPacked) ext Unsupported
1% dexvert Software Compress Packed (archive/softwareCompressPacked) ext Unsupported
1% dexvert Spoon Studio Packed (archive/spoonStudioPacked) ext Unsupported
1% dexvert tElock Packed (archive/telockPacked) ext Unsupported
1% dexvert The Builder Packed (archive/theBuilderPacked) ext Unsupported
1% dexvert The Patcher Packed (archive/thePatcherPacked) ext Unsupported
1% dexvert 32Lite Packed (archive/thirtyTwoLitePacked) ext Unsupported
1% dexvert TinyProt Protected (archive/tinyProtProtected) ext Unsupported
1% dexvert (Win)Upack Packed (archive/winUpackPacked) ext Unsupported
1% dexvert Yoda's Crypte Protected (archive/yodasCrypterProtected) ext Unsupported
1% dexvert MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) ext Unsupported
1% dexvert Sony Playstation Executable (executable/sonyPlaystationExe) ext Unsupported
1% dexvert Novell Netware Virtual Loadable Module (other/novellNetwareVirtualLoadableModule) ext Unsupported
100% file PE32 executable for MS Windows 4.00 (console), Intel i386, 4 sections default
99% file data default
50% TrID Win32 Executable MS Visual C++ (generic) default
17% TrID Win64 Executable (generic) default
8% TrID Win16 NE executable (generic) default
7% TrID Win32 Executable (generic) default
3% TrID Win16/32 Executable Delphi generic default (weak)
100% siegfried fmt/899 Windows Portable Executable (32 bit) default
100% gt2 Ist eine ausf�hrbare Win32 Datei default
100% binwalkID Microsoft executable, portable (PE) default
100% xdgMime application/vnd.microsoft.portable-executable default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4d 5a 90 00 03 00 00 00 | 04 00 00 00 ff ff 00 00 |MZ......|........|
|00000010| b8 00 00 00 00 00 00 00 | 40 00 00 00 00 00 00 00 |........|@.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000040| 0e 1f ba 0e 00 b4 09 cd | 21 b8 01 4c cd 21 54 68 |........|!..L.!Th|
|00000050| 69 73 20 70 72 6f 67 72 | 61 6d 20 63 61 6e 6e 6f |is progr|am canno|
|00000060| 74 20 62 65 20 72 75 6e | 20 69 6e 20 44 4f 53 20 |t be run| in DOS |
|00000070| 6d 6f 64 65 2e 0d 0d 0a | 24 00 00 00 00 00 00 00 |mode....|$.......|
|00000080| 50 45 00 00 4c 01 04 00 | 21 3e d4 31 5c 95 03 00 |PE..L...|!>.1\...|
|00000090| 8d 07 00 00 e0 00 02 01 | 0b 01 03 0a 00 70 02 00 |........|.....p..|
|000000a0| 00 66 00 00 00 00 00 00 | 16 2e 02 00 00 10 00 00 |.f......|........|
|000000b0| 00 80 02 00 00 00 00 01 | 00 10 00 00 00 02 00 00 |........|........|
|000000c0| 04 00 00 00 04 00 00 00 | 04 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 03 00 00 04 00 00 | 06 f7 08 00 03 00 00 00 |........|........|
|000000e0| 00 00 10 00 00 10 00 00 | 00 00 10 00 00 10 00 00 |........|........|
|000000f0| 00 00 00 00 10 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 60 79 02 00 3c 00 00 00 | 00 b0 02 00 c4 03 00 00 |`y..<...|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 c0 02 00 74 34 00 00 | 40 11 00 00 70 00 00 00 |....t4..|@...p...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 28 10 00 00 14 01 00 00 |........|(.......|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 2e 74 65 78 74 00 00 00 |........|.text...|
|00000180| 6e 6f 02 00 00 10 00 00 | 00 70 02 00 00 10 00 00 |no......|.p......|
|00000190| 00 00 00 00 20 cc 02 00 | 00 00 8a 21 20 00 00 60 |.... ...|...! ..`|
|000001a0| 2e 64 61 74 61 00 00 00 | 0c 29 00 00 00 80 02 00 |.data...|.)......|
|000001b0| 00 10 00 00 00 80 02 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 40 00 00 c0 | 2e 72 73 72 63 00 00 00 |....@...|.rsrc...|
|000001d0| c4 03 00 00 00 b0 02 00 | 00 04 00 00 00 90 02 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 40 00 00 40 |........|....@..@|
|000001f0| 2e 72 65 6c 6f 63 00 00 | 5e 36 00 00 00 c0 02 00 |.reloc..|^6......|
|00000200| 00 38 00 00 00 94 02 00 | 00 00 00 00 00 00 00 00 |.8......|........|
|00000210| 00 00 00 00 40 00 00 42 | 00 00 00 00 00 00 00 00 |....@..B|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 8f 4c 02 01 |........|.....L..|
|00001010| 00 00 00 00 00 00 00 00 | 50 4d 02 01 00 00 00 00 |........|PM......|
|00001020| 00 00 00 00 00 00 00 00 | 02 7c 02 00 c6 7a 02 00 |........|.|...z..|
|00001030| d8 7a 02 00 ec 7a 02 00 | 00 7b 02 00 0e 7b 02 00 |.z...z..|.{...{..|
|00001040| 20 7b 02 00 32 7b 02 00 | 44 7b 02 00 58 7b 02 00 | {..2{..|D{..X{..|
|00001050| 6a 7b 02 00 7a 7b 02 00 | 8c 7b 02 00 9c 7b 02 00 |j{..z{..|.{...{..|
|00001060| ac 7b 02 00 c0 7b 02 00 | d8 7b 02 00 f0 7b 02 00 |.{...{..|.{...{..|
|00001070| b0 7a 02 00 18 7c 02 00 | 2a 7c 02 00 3e 7c 02 00 |.z...|..|*|..>|..|
|00001080| 52 7c 02 00 66 7c 02 00 | 7a 7c 02 00 88 7c 02 00 |R|..f|..|z|...|..|
|00001090| 98 7c 02 00 a8 7c 02 00 | 00 00 00 00 d6 7c 02 00 |.|...|..|.....|..|
|000010a0| e2 7c 02 00 ee 7c 02 00 | fa 7c 02 00 0a 7d 02 00 |.|...|..|.|...}..|
|000010b0| 1c 7d 02 00 c6 7c 02 00 | 2a 7d 02 00 38 7d 02 00 |.}...|..|*}..8}..|
|000010c0| 4c 7d 02 00 60 7d 02 00 | 6c 7d 02 00 78 7d 02 00 |L}..`}..|l}..x}..|
|000010d0| 84 7d 02 00 a0 7d 02 00 | b6 7d 02 00 d0 7d 02 00 |.}...}..|.}...}..|
|000010e0| e6 7d 02 00 fe 7d 02 00 | 18 7e 02 00 32 7e 02 00 |.}...}..|.~..2~..|
|000010f0| 48 7e 02 00 54 7e 02 00 | 5e 7e 02 00 6a 7e 02 00 |H~..T~..|^~..j~..|
|00001100| 7c 7e 02 00 8a 7e 02 00 | 9c 7e 02 00 aa 7e 02 00 ||~...~..|.~...~..|
|00001110| b6 7e 02 00 c8 7e 02 00 | d8 7e 02 00 ea 7e 02 00 |.~...~..|.~...~..|
|00001120| fc 7e 02 00 10 7f 02 00 | 22 7f 02 00 32 7f 02 00 |.~......|"...2...|
|00001130| 42 7f 02 00 52 7f 02 00 | 00 00 00 00 00 00 00 00 |B...R...|........|
|00001140| 00 00 00 00 21 3e d4 31 | 00 00 00 00 01 00 00 00 |....!>.1|........|
|00001150| b4 fb 01 00 00 00 00 00 | 00 cc 02 00 00 00 00 00 |........|........|
|00001160| 21 3e d4 31 00 00 00 00 | 04 00 00 00 10 01 00 00 |!>.1....|........|
|00001170| 00 00 00 00 b4 c7 04 00 | 00 00 00 00 21 3e d4 31 |........|....!>.1|
|00001180| 00 00 00 00 03 00 00 00 | a0 09 00 00 00 00 00 00 |........|........|
|00001190| c4 c8 04 00 00 00 00 00 | 21 3e d4 31 00 00 00 00 |........|!>.1....|
|000011a0| 02 00 00 00 94 b3 03 00 | 00 00 00 00 64 d2 04 00 |........|....d...|
|000011b0| 43 72 79 70 74 53 65 74 | 4b 65 79 50 61 72 61 6d |CryptSet|KeyParam|
|000011c0| 20 4b 50 5f 50 45 52 4d | 49 53 53 49 4f 4e 53 09 | KP_PERM|ISSIONS.|
|000011d0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|000011e0| 4b 65 79 50 61 72 61 6d | 20 4b 50 5f 50 45 52 4d |KeyParam| KP_PERM|
|000011f0| 49 53 53 49 4f 4e 53 09 | 09 09 09 09 00 00 00 00 |ISSIONS.|........|
|00001200| 43 72 79 70 74 53 65 74 | 4b 65 79 50 61 72 61 6d |CryptSet|KeyParam|
|00001210| 20 4b 50 5f 4d 4f 44 45 | 5f 42 49 54 53 09 09 09 | KP_MODE|_BITS...|
|00001220| 09 09 00 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00001230| 61 72 61 6d 20 4b 50 5f | 4d 4f 44 45 5f 42 49 54 |aram KP_|MODE_BIT|
|00001240| 53 09 09 09 09 09 00 00 | 43 72 79 70 74 53 65 74 |S.......|CryptSet|
|00001250| 4b 65 79 50 61 72 61 6d | 20 4b 50 5f 4d 4f 44 45 |KeyParam| KP_MODE|
|00001260| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|00001270| 4b 65 79 50 61 72 61 6d | 20 4b 50 5f 4d 4f 44 45 |KeyParam| KP_MODE|
|00001280| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 53 65 74 |........|CryptSet|
|00001290| 4b 65 79 50 61 72 61 6d | 20 4b 50 5f 53 41 4c 54 |KeyParam| KP_SALT|
|000012a0| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 6e |........|CryptGen|
|000012b0| 4b 65 79 20 28 62 6c 6f | 63 6b 20 63 69 70 68 65 |Key (blo|ck ciphe|
|000012c0| 72 20 77 69 74 68 20 53 | 41 4c 54 29 09 09 09 09 |r with S|ALT)....|
|000012d0| 00 00 00 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|000012e0| 61 72 61 6d 20 4b 50 5f | 53 41 4c 54 09 09 09 09 |aram KP_|SALT....|
|000012f0| 09 00 00 00 66 61 69 6c | 65 64 0a 00 43 72 79 70 |....fail|ed..Cryp|
|00001300| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 09 09 09 09 |tSetKeyP|aram....|
|00001310| 09 09 00 00 43 72 79 70 | 74 53 65 74 4b 65 79 50 |....Cryp|tSetKeyP|
|00001320| 61 72 61 6d 20 49 56 20 | 63 6f 6d 70 61 72 65 20 |aram IV |compare |
|00001330| 66 61 69 6c 65 64 0a 00 | 43 72 79 70 74 47 65 74 |failed..|CryptGet|
|00001340| 4b 65 79 50 61 72 61 6d | 20 4b 50 5f 49 56 09 09 |KeyParam| KP_IV..|
|00001350| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|00001360| 4b 65 79 50 61 72 61 6d | 20 64 77 46 6c 61 67 73 |KeyParam| dwFlags|
|00001370| 20 69 6e 76 61 6c 69 64 | 20 70 61 72 61 6d 65 74 | invalid| paramet|
|00001380| 65 72 20 28 2d 31 29 20 | 09 09 00 00 43 72 79 70 |er (-1) |....Cryp|
|00001390| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 46 |tGetKeyP|aram dwF|
|000013a0| 6c 61 67 73 20 76 61 6c | 69 64 20 70 61 72 61 6d |lags val|id param|
|000013b0| 65 74 65 72 20 28 30 29 | 09 09 09 00 43 72 79 70 |eter (0)|....Cryp|
|000013c0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 44 |tGetKeyP|aram dwD|
|000013d0| 61 74 61 4c 65 6e 20 28 | 4b 50 5f 50 45 52 4d 49 |ataLen (|KP_PERMI|
|000013e0| 53 53 49 4f 4e 53 29 20 | 09 09 09 00 43 72 79 70 |SSIONS) |....Cryp|
|000013f0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 44 |tGetKeyP|aram dwD|
|00001400| 61 74 61 4c 65 6e 20 28 | 4b 50 5f 4d 4f 44 45 5f |ataLen (|KP_MODE_|
|00001410| 42 49 54 53 29 20 09 09 | 09 00 00 00 43 72 79 70 |BITS) ..|....Cryp|
|00001420| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 44 |tGetKeyP|aram dwD|
|00001430| 61 74 61 4c 65 6e 20 28 | 4b 50 5f 4d 4f 44 45 29 |ataLen (|KP_MODE)|
|00001440| 20 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 | .......|CryptGet|
|00001450| 4b 65 79 50 61 72 61 6d | 20 64 77 44 61 74 61 4c |KeyParam| dwDataL|
|00001460| 65 6e 20 28 4b 50 5f 50 | 41 44 44 49 4e 47 29 20 |en (KP_P|ADDING) |
|00001470| 09 09 09 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00001480| 61 72 61 6d 20 64 77 44 | 61 74 61 4c 65 6e 20 28 |aram dwD|ataLen (|
|00001490| 4b 50 5f 53 41 4c 54 29 | 20 09 09 09 09 00 00 00 |KP_SALT)| .......|
|000014a0| 43 72 79 70 74 47 65 74 | 4b 65 79 50 61 72 61 6d |CryptGet|KeyParam|
|000014b0| 20 64 77 44 61 74 61 4c | 65 6e 20 73 63 65 6e 61 | dwDataL|en scena|
|000014c0| 72 69 6f 20 23 31 20 09 | 09 09 09 00 43 72 79 70 |rio #1 .|....Cryp|
|000014d0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 44 |tGetKeyP|aram dwD|
|000014e0| 61 74 61 4c 65 6e 20 28 | 4b 50 5f 49 56 29 20 09 |ataLen (|KP_IV) .|
|000014f0| 09 09 09 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00001500| 61 72 61 6d 20 64 77 44 | 61 74 61 4c 65 6e 20 28 |aram dwD|ataLen (|
|00001510| 4b 50 5f 42 4c 4f 43 4b | 4c 45 4e 29 20 09 09 09 |KP_BLOCK|LEN) ...|
|00001520| 00 00 00 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00001530| 61 72 61 6d 20 64 77 44 | 61 74 61 4c 65 6e 20 28 |aram dwD|ataLen (|
|00001540| 4b 50 5f 41 4c 47 49 44 | 29 09 20 09 09 09 00 00 |KP_ALGID|). .....|
|00001550| 43 72 79 70 74 47 65 74 | 4b 65 79 50 61 72 61 6d |CryptGet|KeyParam|
|00001560| 20 64 77 44 61 74 61 4c | 65 6e 20 69 6e 76 61 6c | dwDataL|en inval|
|00001570| 69 64 20 70 6f 69 6e 74 | 65 72 20 28 2d 31 29 09 |id point|er (-1).|
|00001580| 09 09 00 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00001590| 61 72 61 6d 20 64 77 44 | 61 74 61 4c 65 6e 20 76 |aram dwD|ataLen v|
|000015a0| 61 6c 69 64 20 70 6f 69 | 6e 74 65 72 20 09 09 09 |alid poi|nter ...|
|000015b0| 00 00 00 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|000015c0| 61 72 61 6d 20 70 62 44 | 61 74 61 20 69 6e 76 61 |aram pbD|ata inva|
|000015d0| 6c 69 64 20 70 6f 69 6e | 74 65 72 20 28 2d 31 29 |lid poin|ter (-1)|
|000015e0| 20 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 74 | .......|CryptGet|
|000015f0| 4b 65 79 50 61 72 61 6d | 20 70 62 44 61 74 61 20 |KeyParam| pbData |
|00001600| 76 61 6c 69 64 20 70 61 | 72 61 6d 65 74 65 72 20 |valid pa|rameter |
|00001610| 6e 75 6d 62 65 72 09 09 | 09 00 00 00 43 72 79 70 |number..|....Cryp|
|00001620| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 50 |tGetKeyP|aram dwP|
|00001630| 61 72 61 6d 20 69 6e 76 | 61 6c 69 64 20 76 61 6c |aram inv|alid val|
|00001640| 75 65 20 28 2d 31 29 20 | 09 09 09 00 43 72 79 70 |ue (-1) |....Cryp|
|00001650| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 64 77 50 |tGetKeyP|aram dwP|
|00001660| 61 72 61 6d 20 76 61 6c | 69 64 20 70 61 72 61 6d |aram val|id param|
|00001670| 65 74 65 72 20 6e 75 6d | 62 65 72 09 09 09 00 00 |eter num|ber.....|
|00001680| 43 72 79 70 74 47 65 74 | 4b 65 79 50 61 72 61 6d |CryptGet|KeyParam|
|00001690| 20 63 68 65 63 6b 20 70 | 75 62 6c 69 63 20 6b 65 | check p|ublic ke|
|000016a0| 79 20 6c 65 6e 67 74 68 | 09 09 09 00 43 72 79 70 |y length|....Cryp|
|000016b0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 4b 50 5f |tGetKeyP|aram KP_|
|000016c0| 42 4c 4f 43 4b 4c 45 4e | 20 28 73 74 72 65 61 6d |BLOCKLEN| (stream|
|000016d0| 20 63 69 70 68 65 72 29 | 09 09 09 00 43 72 79 70 | cipher)|....Cryp|
|000016e0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 4b 50 5f |tGetKeyP|aram KP_|
|000016f0| 42 4c 4f 43 4b 4c 45 4e | 20 28 42 6c 6f 63 6b 20 |BLOCKLEN| (Block |
|00001700| 63 69 70 68 65 72 29 09 | 09 09 00 00 43 72 79 70 |cipher).|....Cryp|
|00001710| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 68 4b 65 |tGetKeyP|aram hKe|
|00001720| 79 20 69 6e 76 61 6c 69 | 64 20 68 61 6e 64 6c 65 |y invali|d handle|
|00001730| 20 28 61 6c 72 65 61 64 | 79 20 64 65 73 74 72 6f | (alread|y destro|
|00001740| 79 65 64 29 09 00 00 00 | 43 72 79 70 74 47 65 74 |yed)....|CryptGet|
|00001750| 4b 65 79 50 61 72 61 6d | 20 68 4b 65 79 20 69 6e |KeyParam| hKey in|
|00001760| 76 61 6c 69 64 20 68 61 | 6e 64 6c 65 20 28 2d 31 |valid ha|ndle (-1|
|00001770| 29 09 09 09 00 00 00 00 | 66 61 69 6c 65 64 20 43 |).......|failed C|
|00001780| 72 79 70 74 47 65 74 4b | 65 79 50 61 72 61 6d 20 |ryptGetK|eyParam |
|00001790| 64 69 64 6e 27 74 20 72 | 65 74 75 72 6e 20 61 6e |didn't r|eturn an|
|000017a0| 20 65 72 72 6f 72 0a 00 | 66 61 69 6c 65 64 20 3d | error..|failed =|
|000017b0| 20 25 78 20 77 72 6f 6e | 67 20 65 72 72 6f 72 20 | %x wron|g error |
|000017c0| 72 65 74 75 72 6e 65 64 | 0a 00 00 00 43 72 79 70 |returned|....Cryp|
|000017d0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 68 4b 65 |tGetKeyP|aram hKe|
|000017e0| 79 20 69 6e 76 61 6c 69 | 64 20 68 61 6e 64 6c 65 |y invali|d handle|
|000017f0| 20 4e 55 4c 4c 09 09 09 | 00 00 00 00 43 72 79 70 | NULL...|....Cryp|
|00001800| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 63 68 65 |tGetKeyP|aram che|
|00001810| 63 6b 20 70 75 62 6c 69 | 63 20 6b 65 79 20 61 6c |ck publi|c key al|
|00001820| 67 69 64 09 09 09 09 00 | 43 72 79 70 74 47 65 74 |gid.....|CryptGet|
|00001830| 55 73 65 72 20 28 53 69 | 67 6e 61 74 75 72 65 29 |User (Si|gnature)|
|00001840| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|00001850| 4b 65 79 50 61 72 61 6d | 20 68 4b 65 79 20 28 73 |KeyParam| hKey (s|
|00001860| 74 72 65 61 6d 20 63 69 | 70 68 65 72 29 20 76 61 |tream ci|pher) va|
|00001870| 6c 69 64 20 68 61 6e 64 | 6c 65 09 09 00 00 00 00 |lid hand|le......|
|00001880| 43 72 79 70 74 47 65 6e | 4b 65 79 20 28 73 74 72 |CryptGen|Key (str|
|00001890| 65 61 6d 20 63 69 70 68 | 65 72 29 09 09 09 09 09 |eam ciph|er).....|
|000018a0| 00 00 00 00 43 72 79 70 | 74 49 6d 70 6f 72 74 4b |....Cryp|tImportK|
|000018b0| 65 79 20 46 41 49 4c 0a | 00 00 00 00 43 72 79 70 |ey FAIL.|....Cryp|
|000018c0| 74 49 6d 70 6f 72 74 4b | 65 79 20 09 09 09 09 09 |tImportK|ey .....|
|000018d0| 09 09 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |....Cryp|tDestroy|
|000018e0| 4b 65 79 20 46 41 49 4c | 0a 00 00 00 43 72 79 70 |Key FAIL|....Cryp|
|000018f0| 74 44 65 73 74 72 6f 79 | 4b 65 79 20 09 09 09 09 |tDestroy|Key ....|
|00001900| 09 09 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00001910| 65 79 20 46 41 49 4c 0a | 00 00 00 00 43 72 79 70 |ey FAIL.|....Cryp|
|00001920| 74 45 78 70 6f 72 74 4b | 65 79 20 09 09 09 09 09 |tExportK|ey .....|
|00001930| 09 09 00 00 43 72 79 70 | 74 47 65 74 55 73 65 72 |....Cryp|tGetUser|
|00001940| 4b 65 79 20 46 41 49 4c | 0a 00 00 00 43 72 79 70 |Key FAIL|....Cryp|
|00001950| 74 47 65 74 55 73 65 72 | 20 28 45 78 63 68 61 6e |tGetUser| (Exchan|
|00001960| 67 65 29 09 09 09 09 09 | 09 00 00 00 43 72 79 70 |ge).....|....Cryp|
|00001970| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 28 44 65 |tGetKeyP|aram (De|
|00001980| 72 69 76 65 20 4b 65 79 | 29 09 09 09 09 09 00 00 |rive Key|).......|
|00001990| 43 72 79 70 74 44 65 73 | 74 72 6f 79 48 61 73 68 |CryptDes|troyHash|
|000019a0| 20 46 41 49 4c 0a 00 00 | 43 72 79 70 74 44 65 73 | FAIL...|CryptDes|
|000019b0| 74 72 6f 79 48 61 73 68 | 20 2d 20 09 09 09 09 09 |troyHash| - .....|
|000019c0| 09 00 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|000019d0| 65 79 20 46 41 49 4c 0a | 00 00 00 00 43 72 79 70 |ey FAIL.|....Cryp|
|000019e0| 74 44 65 72 69 76 65 4b | 65 79 20 28 62 6c 6f 63 |tDeriveK|ey (bloc|
|000019f0| 6b 20 63 69 70 68 65 72 | 29 09 09 09 09 09 00 00 |k cipher|).......|
|00001a00| 43 72 79 70 74 48 61 73 | 68 44 61 74 61 20 46 41 |CryptHas|hData FA|
|00001a10| 49 4c 0a 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |IL..Cryp|tHashDat|
|00001a20| 61 20 2d 20 09 09 09 09 | 09 09 00 00 43 72 79 70 |a - ....|....Cryp|
|00001a30| 74 43 72 65 61 74 65 48 | 61 73 68 20 46 41 49 4c |tCreateH|ash FAIL|
|00001a40| 0a 00 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|00001a50| 61 73 68 20 2d 20 09 09 | 09 09 09 09 00 00 00 00 |ash - ..|........|
|00001a60| 46 41 49 4c 0a 00 00 00 | 43 72 79 70 74 47 65 74 |FAIL....|CryptGet|
|00001a70| 4b 65 79 50 61 72 61 6d | 20 46 41 49 4c 0a 00 00 |KeyParam| FAIL...|
|00001a80| 43 72 79 70 74 47 65 74 | 4b 65 79 50 61 72 61 6d |CryptGet|KeyParam|
|00001a90| 20 68 4b 65 79 20 28 62 | 6c 6f 63 6b 20 63 69 70 | hKey (b|lock cip|
|00001aa0| 68 65 72 29 20 76 61 6c | 69 64 20 68 61 6e 64 6c |her) val|id handl|
|00001ab0| 65 09 09 00 53 55 43 43 | 45 45 44 0a 00 00 00 00 |e...SUCC|EED.....|
|00001ac0| 43 72 79 70 74 47 65 6e | 4b 65 79 20 46 41 49 4c |CryptGen|Key FAIL|
|00001ad0| 0a 00 00 00 66 61 69 6c | 65 64 20 3d 20 25 78 0a |....fail|ed = %x.|
|00001ae0| 00 00 00 00 43 72 79 70 | 74 47 65 6e 4b 65 79 20 |....Cryp|tGenKey |
|00001af0| 28 62 6c 6f 63 6b 20 63 | 69 70 68 65 72 29 09 09 |(block c|ipher)..|
|00001b00| 09 09 09 00 2a 2a 2a 2a | 2a 20 54 65 73 74 20 43 |....****|* Test C|
|00001b10| 72 79 70 74 47 65 74 4b | 65 79 50 61 72 61 6d 20 |ryptGetK|eyParam |
|00001b20| 2a 2a 2a 2a 2a 0a 00 00 | 43 72 79 70 74 52 65 6c |*****...|CryptRel|
|00001b30| 65 61 73 65 43 6f 6e 74 | 65 78 74 00 44 65 63 72 |easeCont|ext.Decr|
|00001b40| 79 70 74 20 43 46 42 09 | 09 09 09 09 09 09 00 00 |ypt CFB.|........|
|00001b50| 44 65 63 72 79 70 74 20 | 45 43 42 09 09 09 09 09 |Decrypt |ECB.....|
|00001b60| 09 09 00 00 64 65 63 72 | 79 70 74 65 64 20 70 6c |....decr|ypted pl|
|00001b70| 61 69 6e 74 65 78 74 20 | 6e 6f 74 20 73 61 6d 65 |aintext |not same|
|00001b80| 20 61 73 20 6f 72 69 67 | 69 6e 61 6c 00 00 00 00 | as orig|inal....|
|00001b90| 44 65 63 72 79 70 74 20 | 43 42 43 09 09 09 09 09 |Decrypt |CBC.....|
|00001ba0| 09 09 00 00 63 69 70 68 | 65 72 74 65 78 74 20 69 |....ciph|ertext i|
|00001bb0| 73 20 73 61 6d 65 20 61 | 73 20 70 6c 61 69 6e 74 |s same a|s plaint|
|00001bc0| 65 78 74 00 63 69 70 68 | 65 72 74 65 78 74 73 20 |ext.ciph|ertexts |
|00001bd0| 61 72 65 20 73 61 6d 65 | 20 75 6e 64 65 72 20 64 |are same| under d|
|00001be0| 69 66 66 65 72 65 6e 74 | 20 6d 6f 64 65 73 00 00 |ifferent| modes..|
|00001bf0| 63 69 70 68 65 72 74 65 | 78 74 20 74 6f 6f 20 73 |cipherte|xt too s|
|00001c00| 68 6f 72 74 00 00 00 00 | 43 6f 6d 70 61 72 65 20 |hort....|Compare |
|00001c10| 63 69 70 68 65 72 74 65 | 78 74 73 09 09 09 09 09 |cipherte|xts.....|
|00001c20| 09 00 00 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |....Cryp|tEncrypt|
|00001c30| 20 28 43 46 42 20 65 6e | 63 72 79 70 74 69 6f 6e | (CFB en|cryption|
|00001c40| 29 09 09 09 09 09 00 00 | 43 72 79 70 74 53 65 74 |).......|CryptSet|
|00001c50| 4b 65 79 50 61 72 61 6d | 20 28 6d 6f 64 65 20 43 |KeyParam| (mode C|
|00001c60| 46 42 29 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |FB).....|....Cryp|
|00001c70| 74 45 6e 63 72 79 70 74 | 20 28 45 43 42 20 65 6e |tEncrypt| (ECB en|
|00001c80| 63 72 79 70 74 69 6f 6e | 29 09 09 09 09 09 00 00 |cryption|).......|
|00001c90| 43 72 79 70 74 53 65 74 | 4b 65 79 50 61 72 61 6d |CryptSet|KeyParam|
|00001ca0| 20 28 6d 6f 64 65 20 45 | 43 42 29 09 09 09 09 09 | (mode E|CB).....|
|00001cb0| 00 00 00 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |....Cryp|tEncrypt|
|00001cc0| 20 28 43 42 43 20 65 6e | 63 72 79 70 74 69 6f 6e | (CBC en|cryption|
|00001cd0| 29 09 09 09 09 09 00 00 | 43 72 79 70 74 53 65 74 |).......|CryptSet|
|00001ce0| 4b 65 79 50 61 72 61 6d | 20 28 6d 6f 64 65 20 43 |KeyParam| (mode C|
|00001cf0| 42 43 29 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |BC).....|....Cryp|
|00001d00| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 69 6e |tSetKeyP|aram (in|
|00001d10| 76 61 6c 69 64 20 63 69 | 70 68 65 72 20 6d 6f 64 |valid ci|pher mod|
|00001d20| 65 29 09 09 09 09 00 00 | 43 72 79 70 74 53 65 74 |e)......|CryptSet|
|00001d30| 4b 65 79 50 61 72 61 6d | 20 28 69 6e 76 61 6c 69 |KeyParam| (invali|
|00001d40| 64 20 70 61 64 64 69 6e | 67 20 6d 6f 64 65 29 09 |d paddin|g mode).|
|00001d50| 09 09 09 00 43 72 79 70 | 74 53 65 74 4b 65 79 50 |....Cryp|tSetKeyP|
|00001d60| 61 72 61 6d 20 28 76 61 | 6c 69 64 20 70 61 64 64 |aram (va|lid padd|
|00001d70| 69 6e 67 20 6d 6f 64 65 | 29 09 09 09 09 00 00 00 |ing mode|).......|
|00001d80| 46 41 49 4c 3a 20 72 65 | 74 72 69 65 76 65 64 20 |FAIL: re|trieved |
|00001d90| 53 41 4c 54 20 6e 6f 74 | 20 65 71 75 61 6c 20 74 |SALT not| equal t|
|00001da0| 6f 20 6f 72 69 67 69 6e | 61 6c 00 00 46 41 49 4c |o origin|al..FAIL|
|00001db0| 3a 20 53 41 4c 54 20 6c | 65 6e 67 74 68 20 6e 6f |: SALT l|ength no|
|00001dc0| 74 20 65 71 75 61 6c 20 | 74 6f 20 31 31 3a 20 25 |t equal |to 11: %|
|00001dd0| 64 0a 00 00 43 6f 6d 70 | 61 72 65 20 53 41 4c 54 |d...Comp|are SALT|
|00001de0| 73 09 09 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |s.......|....Cryp|
|00001df0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 28 67 65 |tGetKeyP|aram (ge|
|00001e00| 74 20 53 41 4c 54 29 09 | 09 09 09 09 00 00 00 00 |t SALT).|........|
|00001e10| 63 69 70 68 65 72 74 65 | 78 74 73 20 77 69 74 68 |cipherte|xts with|
|00001e20| 20 64 69 66 66 65 72 65 | 6e 74 20 53 41 4c 54 73 | differe|nt SALTs|
|00001e30| 20 61 72 65 20 65 71 75 | 61 6c 00 00 43 72 79 70 | are equ|al..Cryp|
|00001e40| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 73 65 |tSetKeyP|aram (se|
|00001e50| 74 20 53 41 4c 54 29 09 | 09 09 09 09 00 00 00 00 |t SALT).|........|
|00001e60| 72 65 74 72 69 65 76 65 | 64 20 49 56 20 6e 6f 74 |retrieve|d IV not|
|00001e70| 20 65 71 75 61 6c 20 74 | 6f 20 6f 72 69 67 69 6e | equal t|o origin|
|00001e80| 61 6c 00 00 46 41 49 4c | 3a 20 49 56 20 6c 65 6e |al..FAIL|: IV len|
|00001e90| 67 74 68 20 6e 6f 74 20 | 65 71 75 61 6c 20 74 6f |gth not |equal to|
|00001ea0| 20 38 3a 20 25 64 0a 00 | 43 6f 6d 70 61 72 65 20 | 8: %d..|Compare |
|00001eb0| 49 56 73 09 09 09 09 09 | 09 09 00 00 43 72 79 70 |IVs.....|....Cryp|
|00001ec0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 00 00 00 00 |tGetKeyP|aram....|
|00001ed0| 43 72 79 70 74 47 65 74 | 4b 65 79 50 61 72 61 6d |CryptGet|KeyParam|
|00001ee0| 20 28 67 65 74 20 49 56 | 29 09 09 09 09 09 00 00 | (get IV|).......|
|00001ef0| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 00 |CryptDes|troyKey.|
|00001f00| 46 41 49 4c 3a 20 64 65 | 63 72 79 70 74 65 64 20 |FAIL: de|crypted |
|00001f10| 70 6c 61 69 6e 74 65 78 | 74 20 6e 6f 74 20 65 71 |plaintex|t not eq|
|00001f20| 75 61 6c 20 74 6f 20 6f | 72 69 67 69 6e 61 6c 3a |ual to o|riginal:|
|00001f30| 20 25 64 0a 00 00 00 00 | 46 41 49 4c 3a 20 77 72 | %d.....|FAIL: wr|
|00001f40| 6f 6e 67 20 70 6c 61 69 | 6e 74 65 78 74 20 6c 65 |ong plai|ntext le|
|00001f50| 6e 67 74 68 3a 20 25 64 | 0a 00 00 00 43 6f 6d 70 |ngth: %d|....Comp|
|00001f60| 61 72 65 20 50 6c 61 69 | 6e 74 65 78 74 73 09 09 |are Plai|ntexts..|
|00001f70| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 44 65 63 |........|CryptDec|
|00001f80| 72 79 70 74 00 00 00 00 | 43 72 79 70 74 44 65 63 |rypt....|CryptDec|
|00001f90| 72 79 70 74 20 28 64 65 | 63 72 79 70 74 20 62 6c |rypt (de|crypt bl|
|00001fa0| 6f 63 6b 29 09 09 09 09 | 09 00 00 00 46 41 49 4c |ock)....|....FAIL|
|00001fb0| 3a 20 63 69 70 68 65 72 | 74 65 78 74 73 20 77 69 |: cipher|texts wi|
|00001fc0| 74 68 20 64 69 66 66 65 | 72 65 6e 74 20 49 56 73 |th diffe|rent IVs|
|00001fd0| 20 61 72 65 20 65 71 75 | 61 6c 0a 00 46 41 49 4c | are equ|al..FAIL|
|00001fe0| 3a 20 63 69 70 68 65 72 | 74 65 78 74 73 20 74 6f |: cipher|texts to|
|00001ff0| 6f 20 73 68 6f 72 74 3a | 20 25 64 0a 00 00 00 00 |o short:| %d.....|
|00002000| 46 41 49 4c 3a 20 63 69 | 70 68 65 72 74 65 78 74 |FAIL: ci|phertext|
|00002010| 20 6c 65 6e 67 74 68 73 | 20 75 6e 65 71 75 61 6c | lengths| unequal|
|00002020| 3a 20 25 64 2c 20 25 64 | 0a 00 00 00 43 6f 6d 70 |: %d, %d|....Comp|
|00002030| 61 72 65 20 43 69 70 68 | 65 72 74 65 78 74 73 09 |are Ciph|ertexts.|
|00002040| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 45 6e 63 |........|CryptEnc|
|00002050| 72 79 70 74 00 00 00 00 | 43 72 79 70 74 45 6e 63 |rypt....|CryptEnc|
|00002060| 72 79 70 74 20 28 65 6e | 63 72 79 70 74 20 62 6c |rypt (en|crypt bl|
|00002070| 6f 63 6b 29 09 09 09 09 | 09 00 00 00 43 72 79 70 |ock)....|....Cryp|
|00002080| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 73 65 |tSetKeyP|aram (se|
|00002090| 74 20 49 56 29 09 09 09 | 09 09 00 00 43 72 79 70 |t IV)...|....Cryp|
|000020a0| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 69 6e |tSetKeyP|aram (in|
|000020b0| 76 61 6c 69 64 20 64 77 | 46 6c 61 67 73 29 09 09 |valid dw|Flags)..|
|000020c0| 09 09 00 00 43 72 79 70 | 74 53 65 74 4b 65 79 50 |....Cryp|tSetKeyP|
|000020d0| 61 72 61 6d 20 28 69 6e | 76 61 6c 69 64 20 70 62 |aram (in|valid pb|
|000020e0| 44 61 74 61 29 09 09 09 | 09 00 00 00 43 72 79 70 |Data)...|....Cryp|
|000020f0| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 69 6e |tSetKeyP|aram (in|
|00002100| 76 61 6c 69 64 20 64 77 | 50 61 72 61 6d 29 09 09 |valid dw|Param)..|
|00002110| 09 09 00 00 43 72 79 70 | 74 53 65 74 4b 65 79 50 |....Cryp|tSetKeyP|
|00002120| 61 72 61 6d 20 28 69 6e | 76 61 6c 69 64 20 68 61 |aram (in|valid ha|
|00002130| 6e 64 6c 65 2c 20 61 6c | 72 65 61 64 79 20 64 65 |ndle, al|ready de|
|00002140| 73 74 72 6f 79 65 64 29 | 09 09 00 00 43 72 79 70 |stroyed)|....Cryp|
|00002150| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 69 6e |tSetKeyP|aram (in|
|00002160| 76 61 6c 69 64 20 68 61 | 6e 64 6c 65 29 09 09 09 |valid ha|ndle)...|
|00002170| 09 00 00 00 43 72 79 70 | 74 53 65 74 4b 65 79 50 |....Cryp|tSetKeyP|
|00002180| 61 72 61 6d 20 28 76 61 | 6c 69 64 20 68 61 6e 64 |aram (va|lid hand|
|00002190| 6c 65 2c 20 65 78 63 68 | 61 6e 67 65 20 6b 65 79 |le, exch|ange key|
|000021a0| 29 09 09 09 00 00 00 00 | 43 72 79 70 74 53 65 74 |).......|CryptSet|
|000021b0| 4b 65 79 50 61 72 61 6d | 00 00 00 00 43 72 79 70 |KeyParam|....Cryp|
|000021c0| 74 53 65 74 4b 65 79 50 | 61 72 61 6d 20 28 76 61 |tSetKeyP|aram (va|
|000021d0| 6c 69 64 20 68 61 6e 64 | 6c 65 2c 20 62 6c 6f 63 |lid hand|le, bloc|
|000021e0| 6b 20 63 69 70 68 65 72 | 2c 20 73 65 74 20 6d 6f |k cipher|, set mo|
|000021f0| 64 65 29 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |de).....|CryptGet|
|00002200| 55 73 65 72 4b 65 79 00 | 43 72 79 70 74 47 65 74 |UserKey.|CryptGet|
|00002210| 55 73 65 72 4b 65 79 20 | 28 65 78 63 68 61 6e 67 |UserKey |(exchang|
|00002220| 65 20 6b 65 79 20 70 61 | 69 72 29 09 09 09 09 00 |e key pa|ir).....|
|00002230| 43 72 79 70 74 47 65 6e | 4b 65 79 00 2a 2a 2a 2a |CryptGen|Key.****|
|00002240| 2a 20 54 65 73 74 20 43 | 72 79 70 74 53 65 74 4b |* Test C|ryptSetK|
|00002250| 65 79 50 61 72 61 6d 20 | 2a 2a 2a 2a 2a 0a 00 00 |eyParam |*****...|
|00002260| 52 65 6d 6f 76 65 20 66 | 61 69 6c 65 64 3a 20 52 |Remove f|ailed: R|
|00002270| 65 67 44 65 6c 65 74 65 | 4b 65 79 0a 00 00 00 00 |egDelete|Key.....|
|00002280| 43 72 79 70 74 53 65 74 | 50 72 6f 76 69 64 65 72 |CryptSet|Provider|
|00002290| 20 4e 55 4c 4c 20 70 6f | 69 6e 74 65 72 20 43 53 | NULL po|inter CS|
|000022a0| 50 20 61 6e 64 20 69 6e | 76 61 6c 69 64 20 74 79 |P and in|valid ty|
|000022b0| 70 65 09 09 00 00 00 00 | 43 72 79 70 74 53 65 74 |pe......|CryptSet|
|000022c0| 50 72 6f 76 69 64 65 72 | 20 4e 55 4c 4c 20 70 6f |Provider| NULL po|
|000022d0| 69 6e 74 65 72 20 43 53 | 50 20 61 6e 64 20 6d 61 |inter CS|P and ma|
|000022e0| 78 20 74 79 70 65 09 09 | 09 00 00 00 43 72 79 70 |x type..|....Cryp|
|000022f0| 74 53 65 74 50 72 6f 76 | 69 64 65 72 20 69 6e 76 |tSetProv|ider inv|
|00002300| 61 6c 69 64 20 43 53 50 | 20 70 6f 69 6e 74 65 72 |alid CSP| pointer|
|00002310| 20 61 6e 64 20 69 6e 76 | 61 6c 69 64 20 74 79 70 | and inv|alid typ|
|00002320| 65 09 09 00 43 72 79 70 | 74 53 65 74 50 72 6f 76 |e...Cryp|tSetProv|
|00002330| 69 64 65 72 20 69 6e 76 | 61 6c 69 64 20 43 53 50 |ider inv|alid CSP|
|00002340| 20 70 6f 69 6e 74 65 72 | 20 61 6e 64 20 6d 61 78 | pointer| and max|
|00002350| 20 74 79 70 65 09 09 00 | 43 72 79 70 74 53 65 74 | type...|CryptSet|
|00002360| 50 72 6f 76 69 64 65 72 | 20 6e 6f 6e 2d 65 78 69 |Provider| non-exi|
|00002370| 73 74 69 6e 67 20 43 53 | 50 20 61 6e 64 20 69 6e |sting CS|P and in|
|00002380| 76 61 6c 69 64 20 74 79 | 70 65 20 09 09 00 00 00 |valid ty|pe .....|
|00002390| 43 72 79 70 74 53 65 74 | 50 72 6f 76 69 64 65 72 |CryptSet|Provider|
|000023a0| 20 6e 6f 6e 2d 65 78 69 | 73 74 69 6e 67 20 43 53 | non-exi|sting CS|
|000023b0| 50 20 61 6e 64 20 6d 61 | 78 20 74 79 70 65 09 09 |P and ma|x type..|
|000023c0| 09 00 00 00 43 72 79 70 | 74 53 65 74 50 72 6f 76 |....Cryp|tSetProv|
|000023d0| 69 64 65 72 20 76 61 6c | 69 64 20 6e 61 6d 65 28 |ider val|id name(|
|000023e0| 6f 66 20 65 78 69 73 74 | 69 6e 67 20 43 53 50 29 |of exist|ing CSP)|
|000023f0| 20 61 6e 64 20 69 6e 76 | 61 6c 69 64 20 74 79 70 | and inv|alid typ|
|00002400| 65 20 09 00 43 72 79 70 | 74 53 65 74 50 72 6f 76 |e ..Cryp|tSetProv|
|00002410| 69 64 65 72 20 76 61 6c | 69 64 20 43 53 50 20 61 |ider val|id CSP a|
|00002420| 6e 64 20 6d 61 78 69 6d | 75 6d 20 76 61 6c 69 64 |nd maxim|um valid|
|00002430| 20 74 79 70 65 09 09 00 | 43 72 79 70 74 53 65 74 | type...|CryptSet|
|00002440| 50 72 6f 76 69 64 65 72 | 20 4e 55 4c 4c 20 70 6f |Provider| NULL po|
|00002450| 69 6e 74 65 72 20 43 53 | 50 20 61 6e 64 20 76 61 |inter CS|P and va|
|00002460| 6c 69 64 20 74 79 70 65 | 09 09 00 00 43 72 79 70 |lid type|....Cryp|
|00002470| 74 53 65 74 50 72 6f 76 | 69 64 65 72 20 69 6e 76 |tSetProv|ider inv|
|00002480| 61 6c 69 64 20 43 53 50 | 20 70 6f 69 6e 74 65 72 |alid CSP| pointer|
|00002490| 20 61 6e 64 20 76 61 6c | 69 64 20 74 79 70 65 09 | and val|id type.|
|000024a0| 09 00 00 00 20 61 6a 64 | 66 6a 6b 61 73 64 66 6a |.... ajd|fjkasdfj|
|000024b0| 6b 73 64 68 66 61 73 68 | 6b 64 6a 66 68 6b 61 73 |ksdhfash|kdjfhkas|
|000024c0| 20 20 61 73 64 6a 6b 66 | 68 61 73 68 20 66 6a 6b | asdjkf|hash fjk|
|000024d0| 73 64 68 66 20 6a 6b 61 | 73 64 66 6a 6b 64 73 66 |sdhf jka|sdfjkdsf|
|000024e0| 20 61 61 73 64 6a 6b 66 | 68 00 00 00 43 72 79 70 | aasdjkf|h...Cryp|
|000024f0| 74 53 65 74 50 72 6f 76 | 69 64 65 72 20 6e 6f 6e |tSetProv|ider non|
|00002500| 2d 65 78 69 73 74 69 6e | 67 20 43 53 50 20 61 6e |-existin|g CSP an|
|00002510| 64 20 76 61 6c 69 64 20 | 74 79 70 65 09 09 00 00 |d valid |type....|
|00002520| 43 72 79 70 74 53 65 74 | 50 72 6f 76 69 64 65 72 |CryptSet|Provider|
|00002530| 00 00 00 00 4d 69 63 72 | 6f 73 6f 66 74 20 42 61 |....Micr|osoft Ba|
|00002540| 73 65 20 43 72 79 70 74 | 6f 67 72 61 70 68 69 63 |se Crypt|ographic|
|00002550| 20 50 72 6f 76 69 64 65 | 72 20 76 31 2e 30 00 00 | Provide|r v1.0..|
|00002560| 43 72 79 70 74 53 65 74 | 50 72 6f 76 69 64 65 72 |CryptSet|Provider|
|00002570| 20 76 61 6c 69 64 20 6e | 61 6d 65 20 61 6e 64 20 | valid n|ame and |
|00002580| 76 61 6c 69 64 20 74 79 | 70 65 09 09 09 00 00 00 |valid ty|pe......|
|00002590| 2a 2a 2a 2a 2a 20 54 65 | 73 74 20 43 72 79 70 74 |***** Te|st Crypt|
|000025a0| 53 65 74 50 72 6f 76 69 | 64 65 72 20 2a 2a 2a 2a |SetProvi|der ****|
|000025b0| 2a 0a 00 00 43 72 79 70 | 74 56 65 72 69 66 79 53 |*...Cryp|tVerifyS|
|000025c0| 69 67 6e 61 74 75 72 65 | 00 00 00 00 43 72 79 70 |ignature|....Cryp|
|000025d0| 74 56 65 72 69 66 79 53 | 69 67 6e 61 74 75 72 65 |tVerifyS|ignature|
|000025e0| 3a 20 56 65 72 69 66 79 | 69 6e 67 20 4d 44 35 20 |: Verify|ing MD5 |
|000025f0| 68 61 73 68 20 77 2f 4e | 55 4c 4c 20 61 73 20 44 |hash w/N|ULL as D|
|00002600| 65 73 63 72 69 70 74 69 | 6f 6e 09 00 43 72 79 70 |escripti|on..Cryp|
|00002610| 74 49 6d 70 6f 72 74 4b | 65 79 00 00 43 72 79 70 |tImportK|ey..Cryp|
|00002620| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|00002630| 20 66 6f 72 20 49 6d 70 | 6f 72 74 69 6e 67 20 74 | for Imp|orting t|
|00002640| 68 65 20 6b 65 79 09 09 | 09 00 00 00 43 72 79 70 |he key..|....Cryp|
|00002650| 74 44 65 73 74 72 6f 79 | 48 61 73 68 00 00 00 00 |tDestroy|Hash....|
|00002660| 43 72 79 70 74 44 65 73 | 74 72 6f 79 48 61 73 68 |CryptDes|troyHash|
|00002670| 3a 20 66 6f 72 20 4d 44 | 35 20 48 61 73 68 09 09 |: for MD|5 Hash..|
|00002680| 09 09 09 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |....Cryp|tDestroy|
|00002690| 4b 65 79 09 09 09 09 09 | 09 09 00 00 43 72 79 70 |Key.....|....Cryp|
|000026a0| 74 53 69 67 6e 48 61 73 | 68 00 00 00 43 72 79 70 |tSignHas|h...Cryp|
|000026b0| 74 53 69 67 6e 48 61 73 | 68 3a 20 53 69 67 6e 69 |tSignHas|h: Signi|
|000026c0| 6e 67 20 4d 44 35 20 68 | 61 73 68 20 77 2f 4b 45 |ng MD5 h|ash w/KE|
|000026d0| 59 45 58 20 6b 65 79 09 | 09 09 00 00 43 72 79 70 |YEX key.|....Cryp|
|000026e0| 74 48 61 73 68 44 61 74 | 61 00 00 00 43 72 79 70 |tHashDat|a...Cryp|
|000026f0| 74 48 61 73 68 44 61 74 | 61 3a 20 66 6f 72 20 53 |tHashDat|a: for S|
|00002700| 48 41 20 48 61 73 68 09 | 09 09 09 09 00 00 00 00 |HA Hash.|........|
|00002710| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 00 |CryptCre|ateHash.|
|00002720| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 3a |CryptCre|ateHash:|
|00002730| 20 66 6f 72 20 53 48 41 | 20 48 61 73 68 09 09 09 | for SHA| Hash...|
|00002740| 09 09 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00002750| 65 79 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |ey..Cryp|tAcquire|
|00002760| 43 6f 6e 74 65 78 74 3a | 20 66 6f 72 20 45 78 70 |Context:| for Exp|
|00002770| 6f 72 74 69 6e 67 20 74 | 68 65 20 6b 65 79 09 09 |orting t|he key..|
|00002780| 09 00 00 00 61 70 69 74 | 65 73 74 00 43 72 79 70 |....apit|est.Cryp|
|00002790| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|000027a0| 20 43 52 59 50 54 5f 56 | 45 52 49 46 59 43 4f 4e | CRYPT_V|ERIFYCON|
|000027b0| 54 45 58 54 20 63 68 65 | 63 6b 69 6e 67 20 66 6f |TEXT che|cking fo|
|000027c0| 72 20 6b 65 79 73 09 00 | 43 72 79 70 74 41 63 71 |r keys..|CryptAcq|
|000027d0| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 43 52 59 |uireCont|ext: CRY|
|000027e0| 50 54 5f 56 45 52 49 46 | 59 43 4f 4e 54 45 58 54 |PT_VERIF|YCONTEXT|
|000027f0| 09 09 09 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|00002800| 43 6f 6e 74 65 78 74 3a | 20 72 65 6d 6f 76 69 6e |Context:| removin|
|00002810| 67 20 74 68 65 20 74 65 | 6d 70 6f 72 61 72 79 20 |g the te|mporary |
|00002820| 6b 65 79 73 65 74 09 09 | 00 00 00 00 43 72 79 70 |keyset..|....Cryp|
|00002830| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|00002840| 20 63 72 65 61 74 69 6e | 67 20 61 20 74 65 6d 70 | creatin|g a temp|
|00002850| 6f 72 61 72 79 20 6b 65 | 79 73 65 74 20 61 67 61 |orary ke|yset aga|
|00002860| 69 6e 09 09 00 00 00 00 | 43 72 79 70 74 41 63 71 |in......|CryptAcq|
|00002870| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 63 72 65 |uireCont|ext: cre|
|00002880| 61 74 69 6e 67 20 61 20 | 74 65 6d 70 6f 72 61 72 |ating a |temporar|
|00002890| 79 20 6b 65 79 73 65 74 | 09 09 00 00 4a 75 73 74 |y keyset|....Just|
|000028a0| 20 62 65 69 6e 67 20 63 | 72 65 61 74 65 64 20 74 | being c|reated t|
|000028b0| 6f 20 64 75 70 6c 69 63 | 61 74 65 00 43 72 79 70 |o duplic|ate.Cryp|
|000028c0| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|000028d0| 20 73 63 20 31 32 20 63 | 72 65 61 74 69 6e 67 20 | sc 12 c|reating |
|000028e0| 61 6e 20 61 6c 72 65 61 | 64 79 20 65 78 69 73 74 |an alrea|dy exist|
|000028f0| 69 6e 67 20 6b 65 79 73 | 65 74 09 09 0a 00 00 00 |ing keys|et......|
|00002900| 6c 64 6a 61 66 6c 64 73 | 6a 6c 66 6a 61 6a 66 6c |ldjaflds|jlfjajfl|
|00002910| 64 61 73 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |das.Cryp|tAcquire|
|00002920| 43 6f 6e 74 65 78 74 3a | 20 55 73 65 72 20 4e 6f |Context:| User No|
|00002930| 74 20 50 72 65 73 65 6e | 74 09 53 63 20 23 38 09 |t Presen|t.Sc #8.|
|00002940| 09 09 00 00 49 41 4d 4e | 4f 54 54 48 45 52 45 00 |....IAMN|OTTHERE.|
|00002950| 43 72 79 70 74 41 63 71 | 75 69 72 65 43 6f 6e 74 |CryptAcq|uireCont|
|00002960| 65 78 74 3a 20 44 65 6c | 65 74 69 6e 67 20 6e 6f |ext: Del|eting no|
|00002970| 6e 20 65 78 69 73 74 69 | 6e 67 20 6b 65 79 73 65 |n existi|ng keyse|
|00002980| 74 09 09 00 4a 55 4e 4b | 00 00 00 00 43 72 79 70 |t...JUNK|....Cryp|
|00002990| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|000029a0| 20 44 65 6c 65 74 69 6e | 67 20 6b 65 79 73 65 74 | Deletin|g keyset|
|000029b0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 41 63 71 |........|CryptAcq|
|000029c0| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 3c 20 6d |uireCont|ext: < m|
|000029d0| 61 78 20 64 77 50 72 6f | 76 74 79 70 65 09 09 09 |ax dwPro|vtype...|
|000029e0| 09 00 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|000029f0| 43 6f 6e 74 65 78 74 3a | 20 3e 20 6d 61 78 20 64 |Context:| > max d|
|00002a00| 77 50 72 6f 76 74 79 70 | 65 09 09 09 09 00 00 00 |wProvtyp|e.......|
|00002a10| 43 72 79 70 74 41 63 71 | 75 69 72 65 43 6f 6e 74 |CryptAcq|uireCont|
|00002a20| 65 78 74 3a 20 6d 61 78 | 20 64 77 50 72 6f 76 74 |ext: max| dwProvt|
|00002a30| 79 70 65 09 09 09 09 00 | 6a 6b 61 64 66 61 73 64 |ype.....|jkadfasd|
|00002a40| 6a 6b 66 6a 61 73 64 6c | 66 6a 6c 61 73 64 6a 66 |jkfjasdl|fjlasdjf|
|00002a50| 6a 6c 61 73 64 6a 66 61 | 6b 66 61 6b 6c 6a 66 6b |jlasdjfa|kfakljfk|
|00002a60| 6c 61 73 64 6a 66 6a 61 | 73 64 6c 66 6c 73 64 66 |lasdjfja|sdlflsdf|
|00002a70| 6a 6c 61 73 6a 66 6c 6a | 61 73 64 6c 66 6a 6c 61 |jlasjflj|asdlfjla|
|00002a80| 73 64 6a 66 6a 6b 6c 61 | 73 64 66 6b 6c 6a 61 73 |sdjfjkla|sdfkljas|
|00002a90| 6c 66 6a 6c 61 73 64 6a | 6c 66 6a 61 73 64 6c 6a |lfjlasdj|lfjasdlj|
|00002aa0| 66 6c 61 73 6a 00 00 00 | 43 72 79 70 74 41 63 71 |flasj...|CryptAcq|
|00002ab0| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 73 63 72 |uireCont|ext: scr|
|00002ac0| 61 70 20 70 73 7a 50 72 | 6f 76 69 64 65 72 09 09 |ap pszPr|ovider..|
|00002ad0| 09 09 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|00002ae0| 43 6f 6e 74 65 78 74 3a | 20 3e 20 6d 61 78 20 6c |Context:| > max l|
|00002af0| 65 6e 67 74 68 20 70 73 | 7a 50 72 6f 76 69 64 65 |ength ps|zProvide|
|00002b00| 72 09 09 09 00 00 00 00 | 43 72 79 70 74 41 63 71 |r.......|CryptAcq|
|00002b10| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 4e 55 4c |uireCont|ext: NUL|
|00002b20| 4c 20 70 73 7a 50 72 6f | 76 69 64 65 72 09 09 09 |L pszPro|vider...|
|00002b30| 09 00 00 00 09 09 09 09 | 09 09 09 09 53 55 43 43 |........|....SUCC|
|00002b40| 45 45 44 0a 00 00 00 00 | 09 53 55 43 43 45 45 44 |EED.....|.SUCCEED|
|00002b50| 0a 00 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|00002b60| 43 6f 6e 74 65 78 74 3a | 20 50 72 69 6e 74 69 6e |Context:| Printin|
|00002b70| 67 20 70 73 7a 4b 65 79 | 53 65 74 20 6e 61 6d 65 |g pszKey|Set name|
|00002b80| 20 53 63 20 23 39 09 00 | 43 72 79 70 74 41 63 71 | Sc #9..|CryptAcq|
|00002b90| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 65 6d 70 |uireCont|ext: emp|
|00002ba0| 74 79 20 73 74 72 69 6e | 67 20 70 73 7a 50 72 6f |ty strin|g pszPro|
|00002bb0| 76 69 64 65 72 09 09 09 | 00 00 00 00 43 72 79 70 |vider...|....Cryp|
|00002bc0| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 3a |tAcquire|Context:|
|00002bd0| 20 6d 61 78 20 6c 65 6e | 20 70 73 7a 50 72 6f 76 | max len| pszProv|
|00002be0| 69 64 65 72 09 09 09 00 | 43 72 79 70 74 41 63 71 |ider....|CryptAcq|
|00002bf0| 75 69 72 65 43 6f 6e 74 | 65 78 74 3a 20 4e 55 4c |uireCont|ext: NUL|
|00002c00| 4c 20 6b 65 79 73 65 74 | 09 09 09 09 00 00 00 00 |L keyset|........|
|00002c10| 43 72 79 70 74 41 63 71 | 75 69 72 65 43 6f 6e 74 |CryptAcq|uireCont|
|00002c20| 65 78 74 3a 20 6f 6e 65 | 20 63 68 61 72 20 6b 65 |ext: one| char ke|
|00002c30| 79 73 65 74 09 09 09 09 | 00 00 00 00 0a 43 72 79 |yset....|.....Cry|
|00002c40| 70 74 41 63 71 75 69 72 | 65 43 6f 6e 74 65 78 74 |ptAcquir|eContext|
|00002c50| 00 00 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|00002c60| 43 6f 6e 74 65 78 74 3a | 20 6d 61 78 20 6b 65 79 |Context:| max key|
|00002c70| 73 65 74 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |set.....|....Cryp|
|00002c80| 74 41 63 71 75 69 72 65 | 43 6f 6e 74 65 78 74 00 |tAcquire|Context.|
|00002c90| 00 00 00 00 43 72 79 70 | 74 41 63 71 75 69 72 65 |....Cryp|tAcquire|
|00002ca0| 43 6f 6e 74 65 78 74 3a | 20 76 61 6c 69 64 20 65 |Context:| valid e|
|00002cb0| 76 65 72 79 74 68 69 6e | 67 09 09 09 09 00 00 00 |verythin|g.......|
|00002cc0| 2a 2a 2a 2a 2a 20 54 65 | 73 74 20 43 72 79 70 74 |***** Te|st Crypt|
|00002cd0| 41 63 71 75 69 72 65 43 | 6f 6e 74 65 78 74 20 2a |AcquireC|ontext *|
|00002ce0| 2a 2a 2a 2a 0a 00 00 00 | 43 72 79 70 74 52 65 6c |****....|CryptRel|
|00002cf0| 65 61 73 65 43 6f 6e 74 | 65 78 74 3a 20 72 65 6c |easeCont|ext: rel|
|00002d00| 65 61 73 65 64 20 68 61 | 6e 64 6c 65 20 74 6f 20 |eased ha|ndle to |
|00002d10| 74 68 65 20 70 72 6f 76 | 69 64 65 72 09 09 00 00 |the prov|ider....|
|00002d20| 43 72 79 70 74 52 65 6c | 65 61 73 65 43 6f 6e 74 |CryptRel|easeCont|
|00002d30| 65 78 74 3a 20 30 20 68 | 61 6e 64 6c 65 20 09 09 |ext: 0 h|andle ..|
|00002d40| 09 09 09 00 43 72 79 70 | 74 52 65 6c 65 61 73 65 |....Cryp|tRelease|
|00002d50| 43 6f 6e 74 65 78 74 3a | 20 69 6e 76 61 6c 69 64 |Context:| invalid|
|00002d60| 20 68 61 6e 64 6c 65 20 | 09 09 09 09 00 00 00 00 | handle |........|
|00002d70| 43 72 79 70 74 52 65 6c | 65 61 73 65 43 6f 6e 74 |CryptRel|easeCont|
|00002d80| 65 78 74 3a 20 76 61 6c | 69 64 20 65 76 65 72 79 |ext: val|id every|
|00002d90| 74 68 69 6e 67 09 09 09 | 09 00 00 00 4c 6f 67 6f |thing...|....Logo|
|00002da0| 6e 00 00 00 2a 2a 2a 2a | 2a 20 54 65 73 74 20 43 |n...****|* Test C|
|00002db0| 72 79 70 74 52 65 6c 65 | 61 73 65 43 6f 6e 74 65 |ryptRele|aseConte|
|00002dc0| 78 74 20 2a 2a 2a 2a 2a | 0a 00 00 00 43 72 79 70 |xt *****|....Cryp|
|00002dd0| 74 47 65 74 55 73 65 72 | 4b 65 79 3a 20 4e 6f 20 |tGetUser|Key: No |
|00002de0| 4b 65 79 73 20 70 72 65 | 73 65 6e 74 09 09 09 09 |Keys pre|sent....|
|00002df0| 00 00 00 00 43 72 79 70 | 74 47 65 74 55 73 65 72 |....Cryp|tGetUser|
|00002e00| 4b 65 79 3a 20 30 20 68 | 50 72 6f 76 09 09 09 09 |Key: 0 h|Prov....|
|00002e10| 09 00 00 00 43 72 79 70 | 74 47 65 74 55 73 65 72 |....Cryp|tGetUser|
|00002e20| 4b 65 79 3a 20 68 50 72 | 6f 76 20 41 6c 72 65 61 |Key: hPr|ov Alrea|
|00002e30| 64 79 20 52 65 6c 65 61 | 73 65 64 09 09 09 09 00 |dy Relea|sed.....|
|00002e40| 43 72 79 70 74 47 65 74 | 55 73 65 72 4b 65 79 3a |CryptGet|UserKey:|
|00002e50| 20 4e 55 4c 4c 20 70 68 | 55 73 65 72 4b 65 79 09 | NULL ph|UserKey.|
|00002e60| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|00002e70| 55 73 65 72 4b 65 79 3a | 20 62 61 64 20 64 77 46 |UserKey:| bad dwF|
|00002e80| 6c 61 67 73 09 09 09 09 | 09 00 00 00 43 72 79 70 |lags....|....Cryp|
|00002e90| 74 47 65 74 55 73 65 72 | 4b 65 79 3a 20 76 61 6c |tGetUser|Key: val|
|00002ea0| 69 64 20 65 76 65 72 79 | 74 68 69 6e 67 20 53 49 |id every|thing SI|
|00002eb0| 47 4e 09 09 09 09 00 00 | 43 72 79 70 74 47 65 74 |GN......|CryptGet|
|00002ec0| 55 73 65 72 4b 65 79 3a | 20 76 61 6c 69 64 20 65 |UserKey:| valid e|
|00002ed0| 76 65 72 79 74 68 69 6e | 67 20 4b 45 59 45 58 09 |verythin|g KEYEX.|
|00002ee0| 09 09 09 00 2a 2a 2a 2a | 2a 20 54 65 73 74 20 43 |....****|* Test C|
|00002ef0| 72 79 70 74 47 65 74 55 | 73 65 72 4b 65 79 20 2a |ryptGetU|serKey *|
|00002f00| 2a 2a 2a 2a 0a 00 00 00 | 43 72 79 70 74 47 65 6e |****....|CryptGen|
|00002f10| 4b 65 79 20 66 6f 72 20 | 53 61 6c 74 20 6c 65 6e |Key for |Salt len|
|00002f20| 67 68 74 00 43 72 79 70 | 74 47 65 6e 4b 65 79 3a |ght.Cryp|tGenKey:|
|00002f30| 20 53 63 20 23 32 20 43 | 68 65 63 6b 69 6e 67 20 | Sc #2 C|hecking |
|00002f40| 66 6f 72 20 74 68 65 20 | 53 61 6c 74 09 09 09 00 |for the |Salt....|
|00002f50| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 53 63 20 |CryptGen|Key: Sc |
|00002f60| 23 31 20 45 78 70 6f 72 | 74 69 6e 67 20 61 20 4e |#1 Expor|ting a N|
|00002f70| 6f 6e 2d 45 78 70 6f 72 | 74 61 62 6c 65 20 52 43 |on-Expor|table RC|
|00002f80| 32 20 4b 65 79 09 09 00 | 43 72 79 70 74 47 65 6e |2 Key...|CryptGen|
|00002f90| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 70 68 4b |Key: inv|alid phK|
|00002fa0| 65 79 20 4e 55 4c 4c 20 | 70 61 73 73 65 64 20 61 |ey NULL |passed a|
|00002fb0| 73 20 4b 45 59 09 09 09 | 00 00 00 00 43 72 79 70 |s KEY...|....Cryp|
|00002fc0| 74 47 65 6e 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |tGenKey:| invalid|
|00002fd0| 20 68 50 72 6f 76 20 3d | 20 30 09 09 09 09 09 00 | hProv =| 0......|
|00002fe0| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 69 6e 76 |CryptGen|Key: inv|
|00002ff0| 61 6c 69 64 20 68 50 72 | 6f 76 20 61 6c 72 65 61 |alid hPr|ov alrea|
|00003000| 64 79 20 72 65 6c 65 61 | 73 65 64 20 68 61 6e 64 |dy relea|sed hand|
|00003010| 6c 65 09 09 00 00 00 00 | 43 72 79 70 74 47 65 6e |le......|CryptGen|
|00003020| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 68 50 72 |Key: inv|alid hPr|
|00003030| 6f 76 09 09 09 09 09 00 | 43 72 79 70 74 47 65 6e |ov......|CryptGen|
|00003040| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 64 77 46 |Key: inv|alid dwF|
|00003050| 6c 61 67 73 09 09 09 09 | 09 00 00 00 43 72 79 70 |lags....|....Cryp|
|00003060| 74 47 65 6e 4b 65 79 3a | 20 52 43 34 2c 20 55 53 |tGenKey:| RC4, US|
|00003070| 45 52 5f 50 52 4f 54 45 | 43 54 45 44 20 7c 20 43 |ER_PROTE|CTED | C|
|00003080| 52 45 41 54 45 5f 53 41 | 4c 54 20 7c 20 45 58 50 |REATE_SA|LT | EXP|
|00003090| 4f 52 54 41 42 4c 45 09 | 00 00 00 00 43 72 79 70 |ORTABLE.|....Cryp|
|000030a0| 74 47 65 6e 4b 65 79 3a | 20 52 43 34 2c 20 43 52 |tGenKey:| RC4, CR|
|000030b0| 59 50 54 5f 43 52 45 41 | 54 45 5f 53 41 4c 54 20 |YPT_CREA|TE_SALT |
|000030c0| 7c 20 43 52 59 50 54 5f | 45 58 50 4f 52 54 41 42 || CRYPT_|EXPORTAB|
|000030d0| 4c 45 09 09 00 00 00 00 | 43 72 79 70 74 47 65 6e |LE......|CryptGen|
|000030e0| 4b 65 79 3a 20 52 43 34 | 2c 20 55 53 45 52 5f 50 |Key: RC4|, USER_P|
|000030f0| 52 4f 54 45 43 54 45 44 | 20 7c 20 43 52 59 50 54 |ROTECTED| | CRYPT|
|00003100| 5f 45 58 50 4f 52 54 41 | 42 4c 45 09 09 00 00 00 |_EXPORTA|BLE.....|
|00003110| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 52 43 34 |CryptGen|Key: RC4|
|00003120| 2c 20 55 53 45 52 5f 50 | 52 4f 54 45 43 54 45 44 |, USER_P|ROTECTED|
|00003130| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 6e |........|CryptGen|
|00003140| 4b 65 79 3a 20 52 43 34 | 2c 20 43 52 45 41 54 45 |Key: RC4|, CREATE|
|00003150| 5f 53 41 4c 54 09 09 09 | 09 09 00 00 43 72 79 70 |_SALT...|....Cryp|
|00003160| 74 47 65 6e 4b 65 79 3a | 20 52 43 34 2c 20 45 58 |tGenKey:| RC4, EX|
|00003170| 50 4f 52 54 41 42 4c 45 | 09 09 09 09 09 00 00 00 |PORTABLE|........|
|00003180| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 52 43 32 |CryptGen|Key: RC2|
|00003190| 2c 20 55 53 45 52 5f 50 | 52 4f 54 45 43 54 45 44 |, USER_P|ROTECTED|
|000031a0| 20 7c 20 43 52 45 41 54 | 45 5f 53 41 4c 54 20 7c | | CREAT|E_SALT ||
|000031b0| 20 45 58 50 4f 52 54 41 | 42 4c 45 09 00 00 00 00 | EXPORTA|BLE.....|
|000031c0| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 52 43 32 |CryptGen|Key: RC2|
|000031d0| 2c 20 43 52 59 50 54 5f | 43 52 45 41 54 45 5f 53 |, CRYPT_|CREATE_S|
|000031e0| 41 4c 54 20 7c 20 43 52 | 59 50 54 5f 45 58 50 4f |ALT | CR|YPT_EXPO|
|000031f0| 52 54 41 42 4c 45 09 09 | 00 00 00 00 43 72 79 70 |RTABLE..|....Cryp|
|00003200| 74 47 65 6e 4b 65 79 3a | 20 52 43 32 2c 20 55 53 |tGenKey:| RC2, US|
|00003210| 45 52 5f 50 52 4f 54 45 | 43 54 45 44 20 7c 20 43 |ER_PROTE|CTED | C|
|00003220| 52 59 50 54 5f 45 58 50 | 4f 52 54 41 42 4c 45 09 |RYPT_EXP|ORTABLE.|
|00003230| 09 00 00 00 43 72 79 70 | 74 47 65 6e 4b 65 79 3a |....Cryp|tGenKey:|
|00003240| 20 52 43 32 2c 20 55 53 | 45 52 5f 50 52 4f 54 45 | RC2, US|ER_PROTE|
|00003250| 43 54 45 44 09 09 09 09 | 00 00 00 00 43 72 79 70 |CTED....|....Cryp|
|00003260| 74 47 65 6e 4b 65 79 3a | 20 52 43 32 2c 20 43 52 |tGenKey:| RC2, CR|
|00003270| 45 41 54 45 5f 53 41 4c | 54 09 09 09 09 09 00 00 |EATE_SAL|T.......|
|00003280| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 52 43 32 |CryptGen|Key: RC2|
|00003290| 2c 20 45 58 50 4f 52 54 | 41 42 4c 45 09 09 09 09 |, EXPORT|ABLE....|
|000032a0| 09 00 00 00 43 72 79 70 | 74 47 65 6e 4b 65 79 3a |....Cryp|tGenKey:|
|000032b0| 20 55 53 45 52 5f 50 52 | 4f 54 45 43 54 45 44 20 | USER_PR|OTECTED |
|000032c0| 7c 20 43 52 45 41 54 45 | 5f 53 41 4c 54 20 7c 20 || CREATE|_SALT | |
|000032d0| 45 58 50 4f 52 54 41 42 | 4c 45 09 09 00 00 00 00 |EXPORTAB|LE......|
|000032e0| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 4b 45 59 |CryptGen|Key: KEY|
|000032f0| 45 58 2c 20 43 52 59 50 | 54 5f 43 52 45 41 54 45 |EX, CRYP|T_CREATE|
|00003300| 5f 53 41 4c 54 20 7c 20 | 43 52 59 50 54 5f 45 58 |_SALT | |CRYPT_EX|
|00003310| 50 4f 52 54 41 42 4c 45 | 09 00 00 00 43 72 79 70 |PORTABLE|....Cryp|
|00003320| 74 47 65 6e 4b 65 79 3a | 20 4b 45 59 45 58 2c 20 |tGenKey:| KEYEX, |
|00003330| 55 53 45 52 5f 50 52 4f | 54 45 43 54 45 44 20 7c |USER_PRO|TECTED ||
|00003340| 20 45 58 50 4f 52 54 41 | 42 4c 45 09 09 09 00 00 | EXPORTA|BLE.....|
|00003350| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 4b 45 59 |CryptGen|Key: KEY|
|00003360| 45 58 2c 20 55 53 45 52 | 5f 50 52 4f 54 45 43 54 |EX, USER|_PROTECT|
|00003370| 45 44 09 09 09 09 00 00 | 43 72 79 70 74 47 65 6e |ED......|CryptGen|
|00003380| 4b 65 79 3a 20 4b 45 59 | 45 58 2c 20 43 52 59 50 |Key: KEY|EX, CRYP|
|00003390| 54 5f 43 52 45 41 54 45 | 5f 53 41 4c 54 09 09 09 |T_CREATE|_SALT...|
|000033a0| 09 00 00 00 43 72 79 70 | 74 47 65 6e 4b 65 79 3a |....Cryp|tGenKey:|
|000033b0| 20 4b 45 59 45 58 2c 20 | 43 52 59 50 54 5f 45 58 | KEYEX, |CRYPT_EX|
|000033c0| 50 4f 52 54 41 42 4c 45 | 09 09 09 09 00 00 00 00 |PORTABLE|........|
|000033d0| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 69 6e 76 |CryptGen|Key: inv|
|000033e0| 61 6c 69 64 20 41 6c 67 | 69 64 09 09 09 09 09 00 |alid Alg|id......|
|000033f0| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 76 61 6c |CryptGen|Key: val|
|00003400| 69 64 20 65 76 65 72 79 | 74 68 69 6e 67 20 52 43 |id every|thing RC|
|00003410| 34 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 6e |4.......|CryptGen|
|00003420| 4b 65 79 3a 20 76 61 6c | 69 64 20 65 76 65 72 79 |Key: val|id every|
|00003430| 74 68 69 6e 67 20 52 43 | 32 09 09 09 09 00 00 00 |thing RC|2.......|
|00003440| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 76 61 6c |CryptGen|Key: val|
|00003450| 69 64 20 65 76 65 72 79 | 74 68 69 6e 67 20 53 49 |id every|thing SI|
|00003460| 47 4e 09 09 09 09 00 00 | 43 72 79 70 74 47 65 6e |GN......|CryptGen|
|00003470| 4b 65 79 3a 20 76 61 6c | 69 64 20 65 76 65 72 79 |Key: val|id every|
|00003480| 74 68 69 6e 67 20 4b 45 | 59 45 58 09 09 09 09 00 |thing KE|YEX.....|
|00003490| 2a 2a 2a 2a 2a 20 54 65 | 73 74 20 43 72 79 70 74 |***** Te|st Crypt|
|000034a0| 47 65 6e 4b 65 79 20 2a | 2a 2a 2a 2a 0a 00 00 00 |GenKey *|****....|
|000034b0| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|000034c0| 20 53 63 20 23 32 20 74 | 72 79 69 6e 67 20 74 6f | Sc #2 t|rying to|
|000034d0| 20 75 73 65 20 64 65 73 | 74 72 6f 79 65 64 20 4b | use des|troyed K|
|000034e0| 45 59 45 58 20 4b 65 79 | 09 00 00 00 43 72 79 70 |EYEX Key|....Cryp|
|000034f0| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 20 77 69 74 |tGetKeyP|aram wit|
|00003500| 68 20 44 65 73 74 72 6f | 79 65 64 20 4b 65 79 00 |h Destro|yed Key.|
|00003510| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|00003520| 20 53 63 20 23 31 20 74 | 72 79 69 6e 67 20 74 6f | Sc #1 t|rying to|
|00003530| 20 75 73 65 20 64 65 73 | 74 72 6f 79 65 64 20 73 | use des|troyed s|
|00003540| 65 73 73 69 6f 6e 20 4b | 65 79 09 00 43 72 79 70 |ession K|ey..Cryp|
|00003550| 74 44 65 73 74 72 6f 79 | 4b 65 79 3a 20 69 6e 76 |tDestroy|Key: inv|
|00003560| 61 6c 69 64 20 68 61 6e | 64 6c 65 20 68 42 6f 67 |alid han|dle hBog|
|00003570| 75 73 4b 65 79 20 74 6f | 20 74 68 65 20 4b 65 79 |usKey to| the Key|
|00003580| 09 09 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |....Cryp|tDestroy|
|00003590| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 68 61 6e |Key: inv|alid han|
|000035a0| 64 6c 65 20 3d 20 30 20 | 74 6f 20 74 68 65 20 4b |dle = 0 |to the K|
|000035b0| 65 79 20 09 09 09 00 00 | 43 72 79 70 74 44 65 73 |ey .....|CryptDes|
|000035c0| 74 72 6f 79 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |troyKey:| invalid|
|000035d0| 20 68 61 6e 64 6c 65 28 | 61 6c 72 65 61 64 79 20 | handle(|already |
|000035e0| 64 65 73 74 72 6f 79 65 | 64 29 20 74 6f 20 52 43 |destroye|d) to RC|
|000035f0| 32 20 4b 65 79 09 00 00 | 43 72 79 70 74 44 65 73 |2 Key...|CryptDes|
|00003600| 74 72 6f 79 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |troyKey:| invalid|
|00003610| 20 68 61 6e 64 6c 65 28 | 61 6c 72 65 61 64 79 20 | handle(|already |
|00003620| 64 65 73 74 72 6f 79 65 | 64 29 20 74 6f 20 4b 45 |destroye|d) to KE|
|00003630| 59 45 58 20 4b 65 79 09 | 00 00 00 00 43 72 79 70 |YEX Key.|....Cryp|
|00003640| 74 44 65 73 74 72 6f 79 | 4b 65 79 3a 20 76 61 6c |tDestroy|Key: val|
|00003650| 69 64 20 68 61 6e 64 6c | 65 20 74 6f 20 52 43 32 |id handl|e to RC2|
|00003660| 20 53 65 73 73 69 6f 6e | 20 4b 65 79 09 09 00 00 | Session| Key....|
|00003670| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|00003680| 20 76 61 6c 69 64 20 68 | 61 6e 64 6c 65 20 74 6f | valid h|andle to|
|00003690| 20 4b 45 59 45 58 20 4b | 65 79 09 09 09 00 00 00 | KEYEX K|ey......|
|000036a0| 0a 2a 2a 2a 2a 2a 20 54 | 65 73 74 20 43 72 79 70 |.***** T|est Cryp|
|000036b0| 74 44 65 73 74 6f 72 79 | 4b 65 79 20 2a 2a 2a 2a |tDestory|Key ****|
|000036c0| 2a 0a 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |*...Cryp|tDeriveK|
|000036d0| 65 79 3a 20 69 6e 76 61 | 6c 69 64 20 68 50 72 6f |ey: inva|lid hPro|
|000036e0| 76 20 61 6c 72 65 61 64 | 79 20 72 65 6c 65 61 73 |v alread|y releas|
|000036f0| 65 64 20 68 61 6e 64 6c | 65 09 09 00 43 72 79 70 |ed handl|e...Cryp|
|00003700| 74 44 65 72 69 76 65 4b | 65 79 3a 20 69 6e 76 61 |tDeriveK|ey: inva|
|00003710| 6c 69 64 20 68 50 72 6f | 76 20 3d 20 30 09 09 09 |lid hPro|v = 0...|
|00003720| 09 00 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|00003730| 65 79 3a 20 69 6e 76 61 | 6c 69 64 20 68 50 72 6f |ey: inva|lid hPro|
|00003740| 76 09 09 09 09 09 00 00 | 43 72 79 70 74 44 65 72 |v.......|CryptDer|
|00003750| 69 76 65 4b 65 79 3a 20 | 69 6e 76 61 6c 69 64 20 |iveKey: |invalid |
|00003760| 64 77 46 6c 61 67 73 09 | 09 09 09 09 00 00 00 00 |dwFlags.|........|
|00003770| 43 72 79 70 74 44 65 72 | 69 76 65 4b 65 79 3a 20 |CryptDer|iveKey: |
|00003780| 69 6e 76 61 6c 69 64 20 | 41 4c 47 49 44 09 09 09 |invalid |ALGID...|
|00003790| 09 09 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|000037a0| 65 79 20 3a 20 54 65 73 | 74 69 6e 67 20 6e 6f 6e |ey : Tes|ting non|
|000037b0| 2d 65 78 70 6f 72 74 61 | 62 6c 69 74 79 20 6f 66 |-exporta|blity of|
|000037c0| 20 6b 65 79 73 09 09 00 | 43 72 79 70 74 44 65 72 | keys...|CryptDer|
|000037d0| 69 76 65 4b 65 79 3a 20 | 52 43 34 20 6b 65 79 20 |iveKey: |RC4 key |
|000037e0| 77 69 74 68 20 53 48 41 | 20 48 61 73 68 09 53 63 |with SHA| Hash.Sc|
|000037f0| 20 23 31 09 09 09 00 00 | 43 72 79 70 74 47 65 74 | #1.....|CryptGet|
|00003800| 55 73 65 72 4b 65 79 3a | 20 53 63 20 23 35 09 09 |UserKey:| Sc #5..|
|00003810| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|00003820| 4b 65 79 50 61 72 61 6d | 3a 20 53 63 20 23 36 20 |KeyParam|: Sc #6 |
|00003830| 43 68 65 63 6b 69 6e 67 | 20 66 6f 72 20 53 61 6c |Checking| for Sal|
|00003840| 74 20 69 6e 20 61 20 52 | 43 34 20 4b 65 79 09 09 |t in a R|C4 Key..|
|00003850| 00 00 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|00003860| 65 79 3a 20 52 43 34 20 | 6b 65 79 20 77 69 74 68 |ey: RC4 |key with|
|00003870| 20 53 48 41 20 48 61 73 | 68 09 53 63 20 23 34 09 | SHA Has|h.Sc #4.|
|00003880| 09 09 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|00003890| 65 79 3a 20 52 43 34 20 | 6b 65 79 20 77 69 74 68 |ey: RC4 |key with|
|000038a0| 20 4d 41 43 20 48 61 73 | 68 09 53 63 20 23 33 09 | MAC Has|h.Sc #3.|
|000038b0| 09 09 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|000038c0| 65 79 3a 20 52 43 34 20 | 6b 65 79 20 77 69 74 68 |ey: RC4 |key with|
|000038d0| 20 4d 44 35 20 48 61 73 | 68 09 53 63 20 23 32 09 | MD5 Has|h.Sc #2.|
|000038e0| 09 09 00 00 43 72 79 70 | 74 44 65 72 69 76 65 4b |....Cryp|tDeriveK|
|000038f0| 65 79 3a 20 52 43 34 20 | 6b 65 79 20 77 69 74 68 |ey: RC4 |key with|
|00003900| 20 4d 44 34 20 48 61 73 | 68 09 53 63 20 23 31 09 | MD4 Has|h.Sc #1.|
|00003910| 09 09 00 00 43 72 79 70 | 74 43 72 79 70 74 44 65 |....Cryp|tCryptDe|
|00003920| 73 74 72 6f 79 48 61 73 | 68 00 00 00 43 72 79 70 |stroyHas|h...Cryp|
|00003930| 74 44 65 73 74 72 6f 79 | 48 61 73 68 3a 09 09 09 |tDestroy|Hash:...|
|00003940| 09 09 09 00 43 72 79 70 | 74 47 65 74 4b 65 79 50 |....Cryp|tGetKeyP|
|00003950| 61 72 61 6d 20 66 6f 72 | 20 53 61 6c 74 20 76 61 |aram for| Salt va|
|00003960| 6c 75 65 09 00 00 00 00 | 43 72 79 70 74 47 65 74 |lue.....|CryptGet|
|00003970| 4b 65 79 50 61 72 61 6d | 20 66 6f 72 20 53 61 6c |KeyParam| for Sal|
|00003980| 74 20 4c 65 6e 67 68 74 | 00 00 00 00 43 72 79 70 |t Lenght|....Cryp|
|00003990| 74 47 65 74 4b 65 79 50 | 61 72 61 6d 3a 20 53 63 |tGetKeyP|aram: Sc|
|000039a0| 20 23 36 20 43 68 65 63 | 6b 69 6e 67 20 66 6f 72 | #6 Chec|king for|
|000039b0| 20 53 61 6c 74 20 69 6e | 20 61 20 52 43 32 20 4b | Salt in| a RC2 K|
|000039c0| 65 79 09 09 00 00 00 00 | 43 72 79 70 74 44 65 72 |ey......|CryptDer|
|000039d0| 69 76 65 4b 65 79 3a 20 | 52 43 32 20 6b 65 79 20 |iveKey: |RC2 key |
|000039e0| 77 69 74 68 20 53 48 41 | 20 48 61 73 68 09 53 63 |with SHA| Hash.Sc|
|000039f0| 20 23 34 09 09 09 00 00 | 43 72 79 70 74 44 65 72 | #4.....|CryptDer|
|00003a00| 69 76 65 4b 65 79 3a 20 | 52 43 32 20 6b 65 79 20 |iveKey: |RC2 key |
|00003a10| 77 69 74 68 20 4d 41 43 | 20 48 61 73 68 09 53 63 |with MAC| Hash.Sc|
|00003a20| 20 23 33 09 09 09 00 00 | 43 72 79 70 74 44 65 72 | #3.....|CryptDer|
|00003a30| 69 76 65 4b 65 79 00 00 | 43 72 79 70 74 44 65 72 |iveKey..|CryptDer|
|00003a40| 69 76 65 4b 65 79 3a 20 | 52 43 32 20 6b 65 79 20 |iveKey: |RC2 key |
|00003a50| 77 69 74 68 20 4d 44 35 | 20 48 61 73 68 09 53 63 |with MD5| Hash.Sc|
|00003a60| 20 23 32 09 09 09 00 00 | 43 72 79 70 74 43 72 79 | #2.....|CryptCry|
|00003a70| 70 74 44 65 73 74 72 6f | 79 4b 65 79 00 00 00 00 |ptDestro|yKey....|
|00003a80| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|00003a90| 09 09 09 09 09 09 00 00 | 43 72 79 70 74 43 72 79 |........|CryptCry|
|00003aa0| 70 74 44 65 72 69 76 65 | 4b 65 79 00 43 72 79 70 |ptDerive|Key.Cryp|
|00003ab0| 74 44 65 72 69 76 65 4b | 65 79 3a 20 52 43 32 20 |tDeriveK|ey: RC2 |
|00003ac0| 6b 65 79 20 77 69 74 68 | 20 4d 44 34 20 48 61 73 |key with| MD4 Has|
|00003ad0| 68 09 53 63 20 23 31 09 | 09 09 00 00 43 72 79 70 |h.Sc #1.|....Cryp|
|00003ae0| 74 48 61 73 68 53 65 73 | 73 69 6f 6e 4b 65 79 3a |tHashSes|sionKey:|
|00003af0| 20 66 6f 72 20 53 48 41 | 20 48 61 73 68 09 09 09 | for SHA| Hash...|
|00003b00| 09 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00003b10| 73 69 6f 6e 4b 65 79 3a | 20 66 6f 72 20 4d 41 43 |sionKey:| for MAC|
|00003b20| 20 48 61 73 68 20 53 68 | 6f 75 6c 64 20 4e 4f 54 | Hash Sh|ould NOT|
|00003b30| 20 62 65 20 61 6c 6c 6f | 77 65 64 09 09 00 00 00 | be allo|wed.....|
|00003b40| 43 72 79 70 74 48 61 73 | 68 53 65 73 73 69 6f 6e |CryptHas|hSession|
|00003b50| 4b 65 79 3a 20 66 6f 72 | 20 4d 44 35 20 48 61 73 |Key: for| MD5 Has|
|00003b60| 68 09 09 09 09 00 00 00 | 43 72 79 70 74 48 61 73 |h.......|CryptHas|
|00003b70| 68 53 65 73 73 69 6f 6e | 4b 65 79 00 43 72 79 70 |hSession|Key.Cryp|
|00003b80| 74 48 61 73 68 53 65 73 | 73 69 6f 6e 4b 65 79 3a |tHashSes|sionKey:|
|00003b90| 20 66 6f 72 20 4d 44 34 | 20 48 61 73 68 09 09 09 | for MD4| Hash...|
|00003ba0| 09 00 00 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |....Cryp|tHashDat|
|00003bb0| 61 3a 20 66 6f 72 20 4d | 41 43 20 48 61 73 68 09 |a: for M|AC Hash.|
|00003bc0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 48 61 73 |........|CryptHas|
|00003bd0| 68 44 61 74 61 3a 20 66 | 6f 72 20 4d 44 35 20 48 |hData: f|or MD5 H|
|00003be0| 61 73 68 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |ash.....|....Cryp|
|00003bf0| 74 48 61 73 68 44 61 74 | 61 3a 20 66 6f 72 20 4d |tHashDat|a: for M|
|00003c00| 44 34 20 48 61 73 68 09 | 09 09 09 09 00 00 00 00 |D4 Hash.|........|
|00003c10| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 3a |CryptCre|ateHash:|
|00003c20| 20 66 6f 72 20 4d 41 43 | 20 48 61 73 68 09 09 09 | for MAC| Hash...|
|00003c30| 09 09 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|00003c40| 61 73 68 3a 20 66 6f 72 | 20 4d 44 35 20 48 61 73 |ash: for| MD5 Has|
|00003c50| 68 09 09 09 09 09 00 00 | 43 72 79 70 74 43 72 65 |h.......|CryptCre|
|00003c60| 61 74 65 48 61 73 68 3a | 20 66 6f 72 20 4d 44 34 |ateHash:| for MD4|
|00003c70| 20 48 61 73 68 09 09 09 | 09 09 00 00 43 72 79 70 | Hash...|....Cryp|
|00003c80| 74 47 65 6e 4b 65 79 3a | 20 66 6f 72 20 4b 65 79 |tGenKey:| for Key|
|00003c90| 65 64 20 48 61 73 68 09 | 09 09 09 09 00 00 00 00 |ed Hash.|........|
|00003ca0| 0a 2a 2a 2a 2a 2a 20 54 | 65 73 74 20 43 72 79 70 |.***** T|est Cryp|
|00003cb0| 74 44 65 72 69 76 65 4b | 65 79 20 2a 2a 2a 2a 2a |tDeriveK|ey *****|
|00003cc0| 0a 00 00 00 54 65 73 74 | 52 61 6e 64 6f 6d 6e 65 |....Test|Randomne|
|00003cd0| 73 73 00 00 43 72 79 70 | 74 47 65 6e 52 61 6e 64 |ss..Cryp|tGenRand|
|00003ce0| 6f 6d 20 28 43 68 65 63 | 6b 69 6e 67 20 52 61 6e |om (Chec|king Ran|
|00003cf0| 64 6f 6d 6e 65 73 73 29 | 09 09 09 09 09 00 00 00 |domness)|........|
|00003d00| 43 72 79 70 74 47 65 6e | 52 61 6e 64 6f 6d 20 28 |CryptGen|Random (|
|00003d10| 69 6e 76 61 6c 69 64 20 | 70 62 42 75 66 66 65 72 |invalid |pbBuffer|
|00003d20| 20 3d 20 4e 55 4c 4c 29 | 09 09 09 00 43 72 79 70 | = NULL)|....Cryp|
|00003d30| 74 47 65 6e 52 61 6e 64 | 6f 6d 20 77 69 74 68 20 |tGenRand|om with |
|00003d40| 64 77 4c 65 6e 3d 30 20 | 6d 6f 64 69 66 69 65 64 |dwLen=0 |modified|
|00003d50| 20 62 75 66 66 65 72 00 | 43 72 79 70 74 47 65 6e | buffer.|CryptGen|
|00003d60| 52 61 6e 64 6f 6d 20 28 | 76 61 6c 69 64 20 64 77 |Random (|valid dw|
|00003d70| 4c 65 6e 20 3d 20 30 29 | 09 09 09 09 00 00 00 00 |Len = 0)|........|
|00003d80| 43 72 79 70 74 47 65 6e | 52 61 6e 64 6f 6d 20 28 |CryptGen|Random (|
|00003d90| 69 6e 76 61 6c 69 64 20 | 68 50 72 6f 76 20 3d 20 |invalid |hProv = |
|00003da0| 61 6c 72 65 61 64 79 20 | 72 65 6c 65 61 73 65 64 |already |released|
|00003db0| 29 09 09 00 41 63 71 75 | 69 72 65 20 61 6e 64 20 |)...Acqu|ire and |
|00003dc0| 72 65 6c 65 61 73 65 20 | 63 6f 6e 74 65 78 74 09 |release |context.|
|00003dd0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 47 65 6e |........|CryptGen|
|00003de0| 52 61 6e 64 6f 6d 20 28 | 69 6e 76 61 6c 69 64 20 |Random (|invalid |
|00003df0| 68 50 72 6f 76 20 3d 20 | 30 78 66 66 66 66 66 66 |hProv = |0xffffff|
|00003e00| 66 66 29 09 09 09 00 00 | 43 72 79 70 74 47 65 6e |ff).....|CryptGen|
|00003e10| 52 61 6e 64 6f 6d 20 28 | 69 6e 76 61 6c 69 64 20 |Random (|invalid |
|00003e20| 68 50 72 6f 76 20 3d 20 | 30 29 09 09 09 09 00 00 |hProv = |0)......|
|00003e30| 43 72 79 70 74 47 65 6e | 52 61 6e 64 6f 6d 00 00 |CryptGen|Random..|
|00003e40| 43 72 79 70 74 47 65 6e | 52 61 6e 64 6f 6d 20 28 |CryptGen|Random (|
|00003e50| 76 61 6c 69 64 20 68 50 | 72 6f 76 29 09 09 09 09 |valid hP|rov)....|
|00003e60| 09 00 00 00 2a 2a 2a 2a | 2a 20 54 65 73 74 20 43 |....****|* Test C|
|00003e70| 72 79 70 74 47 65 6e 52 | 61 6e 64 6f 6d 20 2a 2a |ryptGenR|andom **|
|00003e80| 2a 2a 2a 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |***.....|........|
|00003e90| 2d 43 1c eb e2 36 6a 3f | 00 00 00 00 00 88 b3 40 |-C...6j?|.......@|
|00003ea0| 7b 14 ae 47 e1 7a f0 3f | 33 33 33 33 33 b3 4c 40 |{..G.z.?|33333.L@|
|00003eb0| 54 68 65 20 52 75 6e 73 | 20 52 61 6e 64 6f 6d 6e |The Runs| Randomn|
|00003ec0| 65 73 73 20 74 65 73 74 | 20 66 61 69 6c 65 64 0a |ess test| failed.|
|00003ed0| 00 00 00 00 54 68 65 20 | 52 75 6e 73 20 52 61 6e |....The |Runs Ran|
|00003ee0| 64 6f 6d 6e 65 73 73 20 | 74 65 73 74 20 70 61 73 |domness |test pas|
|00003ef0| 73 65 64 0a 00 00 00 00 | 4c 6f 6e 67 20 52 75 6e |sed.....|Long Run|
|00003f00| 20 54 65 73 74 20 46 61 | 69 6c 65 64 0a 00 00 00 | Test Fa|iled....|
|00003f10| 54 68 65 20 50 6f 6b 65 | 72 20 52 61 6e 64 6f 6d |The Poke|r Random|
|00003f20| 6e 65 73 73 20 74 65 73 | 74 20 66 61 69 6c 65 64 |ness tes|t failed|
|00003f30| 0a 00 00 00 54 68 65 20 | 76 61 6c 75 65 20 6f 66 |....The |value of|
|00003f40| 20 78 20 69 6e 20 74 68 | 65 20 50 6f 6b 65 72 20 | x in th|e Poker |
|00003f50| 74 65 73 74 20 69 73 3a | 20 25 66 0a 00 00 00 00 |test is:| %f.....|
|00003f60| 54 68 65 20 50 6f 6b 65 | 72 20 52 61 6e 64 6f 6d |The Poke|r Random|
|00003f70| 6e 65 73 73 20 74 65 73 | 74 20 70 61 73 73 65 64 |ness tes|t passed|
|00003f80| 0a 00 00 00 54 68 65 20 | 4d 6f 6e 6f 62 69 74 20 |....The |Monobit |
|00003f90| 52 61 6e 64 6f 6d 6e 65 | 73 73 20 74 65 73 74 20 |Randomne|ss test |
|00003fa0| 66 61 69 6c 65 64 0a 00 | 25 64 20 69 73 20 74 68 |failed..|%d is th|
|00003fb0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 31 73 20 67 |e number| of 1s g|
|00003fc0| 65 6e 65 72 61 74 65 64 | 20 69 6e 20 32 30 2c 30 |enerated| in 20,0|
|00003fd0| 30 30 20 62 69 74 73 0a | 00 00 00 00 54 68 65 20 |00 bits.|....The |
|00003fe0| 6d 6f 6e 6f 62 69 74 20 | 52 61 6e 64 6f 6d 6e 65 |monobit |Randomne|
|00003ff0| 73 73 20 74 65 73 74 20 | 70 61 73 73 65 64 0a 00 |ss test |passed..|
|00004000| 43 72 79 70 74 47 65 6e | 52 61 6e 64 6f 6d 20 46 |CryptGen|Random F|
|00004010| 61 69 6c 65 64 3a 20 69 | 6e 20 72 61 6e 64 6f 6d |ailed: i|n random|
|00004020| 6e 65 73 73 20 74 65 73 | 74 69 6e 67 00 00 00 00 |ness tes|ting....|
|00004030| 0a 54 65 73 74 69 6e 67 | 20 74 68 65 20 52 61 6e |.Testing| the Ran|
|00004040| 64 6f 6d 6e 65 73 73 20 | 6f 66 20 43 72 79 70 74 |domness |of Crypt|
|00004050| 47 65 6e 52 61 6e 64 6f | 6d 09 09 0a 00 00 00 00 |GenRando|m.......|
|00004060| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 3a |CryptCre|ateHash:|
|00004070| 20 4e 55 4c 4c 20 42 75 | 66 66 65 72 09 09 09 09 | NULL Bu|ffer....|
|00004080| 09 00 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|00004090| 61 73 68 3a 20 69 6e 76 | 61 6c 69 64 20 76 61 6c |ash: inv|alid val|
|000040a0| 75 65 73 20 6f 66 20 64 | 77 46 6c 61 67 73 2e 2e |ues of d|wFlags..|
|000040b0| 2e 2e 33 39 09 09 00 00 | 43 72 79 70 74 43 72 65 |..39....|CryptCre|
|000040c0| 61 74 65 48 61 73 68 3a | 20 66 6f 72 20 4d 44 35 |ateHash:| for MD5|
|000040d0| 20 48 61 73 68 20 77 69 | 74 68 20 64 65 73 74 72 | Hash wi|th destr|
|000040e0| 6f 79 65 64 20 6b 65 79 | 09 09 00 00 43 72 79 70 |oyed key|....Cryp|
|000040f0| 74 43 72 65 61 74 65 48 | 61 73 68 3a 20 66 6f 72 |tCreateH|ash: for|
|00004100| 20 4d 41 43 20 48 61 73 | 68 20 77 69 74 68 20 64 | MAC Has|h with d|
|00004110| 65 73 74 72 6f 79 65 64 | 20 6b 65 79 09 09 00 00 |estroyed| key....|
|00004120| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|00004130| 20 66 6f 72 20 4b 65 79 | 65 64 20 48 61 73 68 09 | for Key|ed Hash.|
|00004140| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 43 72 65 |........|CryptCre|
|00004150| 61 74 65 48 61 73 68 3a | 20 66 6f 72 20 4d 41 43 |ateHash:| for MAC|
|00004160| 20 48 61 73 68 09 77 6f | 2f 4b 65 79 09 09 09 09 | Hash.wo|/Key....|
|00004170| 00 00 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|00004180| 61 73 68 3a 20 66 6f 72 | 20 4d 44 35 20 48 61 73 |ash: for| MD5 Has|
|00004190| 68 09 77 2f 4b 65 79 09 | 09 09 00 00 43 72 79 70 |h.w/Key.|....Cryp|
|000041a0| 74 43 72 65 61 74 65 48 | 61 73 68 3a 20 72 65 6c |tCreateH|ash: rel|
|000041b0| 65 61 73 65 64 20 68 61 | 6e 64 6c 65 09 09 09 09 |eased ha|ndle....|
|000041c0| 00 00 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|000041d0| 61 73 68 3a 20 68 50 72 | 6f 76 20 3d 20 30 09 09 |ash: hPr|ov = 0..|
|000041e0| 09 09 09 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|000041f0| 61 73 68 3a 20 69 6e 76 | 61 6c 69 64 20 48 61 6e |ash: inv|alid Han|
|00004200| 64 6c 65 20 74 6f 20 68 | 50 72 6f 76 09 09 09 00 |dle to h|Prov....|
|00004210| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 3a |CryptCre|ateHash:|
|00004220| 20 42 41 44 20 41 4c 47 | 49 44 09 09 09 09 09 00 | BAD ALG|ID......|
|00004230| 0a 2a 2a 2a 2a 2a 20 54 | 65 73 74 20 43 72 79 70 |.***** T|est Cryp|
|00004240| 74 43 72 65 61 74 65 48 | 61 73 68 20 2a 2a 2a 2a |tCreateH|ash ****|
|00004250| 2a 0a 00 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |*...Cryp|tEncrypt|
|00004260| 20 28 52 43 34 2c 20 2a | 70 64 77 44 61 74 61 4c | (RC4, *|pdwDataL|
|00004270| 65 6e 20 3d 20 35 09 09 | 09 09 00 00 68 61 73 68 |en = 5..|....hash|
|00004280| 20 6e 6f 74 20 65 71 75 | 61 6c 00 00 68 61 73 68 | not equ|al..hash|
|00004290| 20 6c 65 6e 67 74 68 73 | 20 6e 6f 74 20 65 71 75 | lengths| not equ|
|000042a0| 61 6c 00 00 09 53 48 41 | 09 09 09 09 09 09 09 00 |al...SHA|........|
|000042b0| 09 4d 44 35 09 09 09 09 | 09 09 09 00 09 4d 44 34 |.MD5....|.....MD4|
|000042c0| 09 09 09 09 09 09 09 00 | 09 4d 41 43 09 09 09 09 |........|.MAC....|
|000042d0| 09 09 09 00 43 6f 6d 70 | 61 72 65 20 68 61 73 68 |....Comp|are hash|
|000042e0| 20 76 61 6c 75 65 73 20 | 66 72 6f 6d 20 43 72 79 | values |from Cry|
|000042f0| 70 74 45 6e 63 72 79 70 | 74 20 61 6e 64 20 43 72 |ptEncryp|t and Cr|
|00004300| 79 70 74 48 61 73 68 44 | 61 74 61 0a 00 00 00 00 |yptHashD|ata.....|
|00004310| 43 72 79 70 74 45 6e 63 | 72 79 70 74 20 28 2a 70 |CryptEnc|rypt (*p|
|00004320| 77 64 44 61 74 61 4c 65 | 6e 20 3d 20 76 61 72 69 |wdDataLe|n = vari|
|00004330| 6f 75 73 2c 20 70 62 44 | 61 74 61 20 3d 20 4e 55 |ous, pbD|ata = NU|
|00004340| 4c 4c 29 09 09 00 00 00 | 43 72 79 70 74 45 6e 63 |LL).....|CryptEnc|
|00004350| 72 79 70 74 20 28 2a 70 | 77 64 44 61 74 61 4c 65 |rypt (*p|wdDataLe|
|00004360| 6e 20 3d 20 76 61 72 69 | 6f 75 73 2c 20 6c 61 73 |n = vari|ous, las|
|00004370| 74 20 62 6c 6f 63 6b 29 | 09 09 00 00 43 72 79 70 |t block)|....Cryp|
|00004380| 74 45 6e 63 72 79 70 74 | 20 28 2a 70 77 64 44 61 |tEncrypt| (*pwdDa|
|00004390| 74 61 4c 65 6e 20 3d 20 | 31 38 2c 20 6e 6f 74 20 |taLen = |18, not |
|000043a0| 6c 61 73 74 20 62 6c 6f | 63 6b 29 09 09 09 00 00 |last blo|ck).....|
|000043b0| 70 6c 61 69 6e 74 65 78 | 74 20 6e 6f 74 20 64 65 |plaintex|t not de|
|000043c0| 63 72 79 70 74 65 64 20 | 63 6f 72 72 65 63 74 6c |crypted |correctl|
|000043d0| 79 00 00 00 75 6e 65 78 | 70 65 63 74 65 64 20 70 |y...unex|pected p|
|000043e0| 6c 61 69 6e 74 65 78 74 | 20 6c 65 6e 67 74 68 00 |laintext| length.|
|000043f0| 75 6e 65 78 70 65 63 74 | 65 64 20 63 79 70 68 65 |unexpect|ed cyphe|
|00004400| 72 74 65 78 74 20 6c 65 | 6e 67 74 68 00 00 00 00 |rtext le|ngth....|
|00004410| 45 6e 63 72 79 70 74 69 | 6e 67 20 61 6e 64 20 64 |Encrypti|ng and d|
|00004420| 65 63 72 79 70 74 69 6e | 67 20 69 6e 20 73 65 63 |ecryptin|g in sec|
|00004430| 74 69 6f 6e 73 09 09 09 | 09 00 00 00 43 72 79 70 |tions...|....Cryp|
|00004440| 74 45 6e 63 72 79 70 74 | 20 28 64 77 42 75 66 4c |tEncrypt| (dwBufL|
|00004450| 65 6e 20 3d 20 2a 70 64 | 77 44 61 74 61 4c 65 6e |en = *pd|wDataLen|
|00004460| 2d 31 29 09 09 09 09 00 | 43 72 79 70 74 45 6e 63 |-1).....|CryptEnc|
|00004470| 72 79 70 74 20 28 64 77 | 42 75 66 4c 65 6e 20 3d |rypt (dw|BufLen =|
|00004480| 20 30 29 09 09 09 09 09 | 00 00 00 00 43 72 79 70 | 0).....|....Cryp|
|00004490| 74 45 6e 63 72 79 70 74 | 20 28 70 64 77 44 61 74 |tEncrypt| (pdwDat|
|000044a0| 61 4c 65 6e 20 3d 20 4e | 55 4c 4c 29 09 09 09 09 |aLen = N|ULL)....|
|000044b0| 00 00 00 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |....Cryp|tEncrypt|
|000044c0| 20 28 70 64 77 44 61 74 | 61 4c 65 6e 20 3d 20 34 | (pdwDat|aLen = 4|
|000044d0| 29 09 09 09 09 09 00 00 | 43 72 79 70 74 45 6e 63 |).......|CryptEnc|
|000044e0| 72 79 70 74 20 28 2a 70 | 64 77 44 61 74 61 4c 65 |rypt (*p|dwDataLe|
|000044f0| 6e 20 3d 20 30 29 09 09 | 09 09 09 00 43 72 79 70 |n = 0)..|....Cryp|
|00004500| 74 45 6e 63 72 79 70 74 | 20 28 70 62 44 61 74 61 |tEncrypt| (pbData|
|00004510| 20 3d 20 4e 55 4c 4c 29 | 09 09 09 09 09 00 00 00 | = NULL)|........|
|00004520| 43 72 79 70 74 45 6e 63 | 72 79 70 74 20 28 70 62 |CryptEnc|rypt (pb|
|00004530| 44 61 74 61 20 3d 20 31 | 29 09 09 09 09 09 00 00 |Data = 1|).......|
|00004540| 43 72 79 70 74 45 6e 63 | 72 79 70 74 20 28 64 77 |CryptEnc|rypt (dw|
|00004550| 46 6c 61 67 73 20 3d 20 | 30 78 66 66 66 66 66 66 |Flags = |0xffffff|
|00004560| 66 66 29 09 09 09 09 00 | 43 72 79 70 74 45 6e 63 |ff).....|CryptEnc|
|00004570| 72 79 70 74 20 28 68 48 | 61 73 68 20 3d 20 68 61 |rypt (hH|ash = ha|
|00004580| 73 68 20 6f 62 6a 65 63 | 74 20 61 6c 72 65 61 64 |sh objec|t alread|
|00004590| 79 20 64 65 73 74 72 6f | 79 65 64 29 09 09 00 00 |y destro|yed)....|
|000045a0| 43 72 79 70 74 44 65 73 | 74 72 6f 79 48 61 73 68 |CryptDes|troyHash|
|000045b0| 09 09 09 09 09 09 00 00 | 43 72 79 70 74 45 6e 63 |........|CryptEnc|
|000045c0| 72 79 70 74 20 28 68 48 | 61 73 68 20 3d 20 68 61 |rypt (hH|ash = ha|
|000045d0| 73 68 20 6f 62 6a 65 63 | 74 20 61 6c 72 65 61 64 |sh objec|t alread|
|000045e0| 79 20 66 69 6e 69 73 68 | 65 64 29 09 09 00 00 00 |y finish|ed).....|
|000045f0| 43 72 79 70 74 47 65 74 | 48 61 73 68 50 61 72 61 |CryptGet|HashPara|
|00004600| 6d 00 00 00 43 72 79 70 | 74 47 65 74 48 61 73 68 |m...Cryp|tGetHash|
|00004610| 50 61 72 61 6d 09 09 09 | 09 09 09 00 43 72 79 70 |Param...|....Cryp|
|00004620| 74 45 6e 63 72 79 70 74 | 20 28 68 48 61 73 68 20 |tEncrypt| (hHash |
|00004630| 3d 20 30 78 66 66 66 66 | 66 66 66 66 29 09 09 09 |= 0xffff|ffff)...|
|00004640| 09 00 00 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |....Cryp|tEncrypt|
|00004650| 20 28 68 4b 65 79 20 3d | 20 61 6c 72 65 61 64 79 | (hKey =| already|
|00004660| 20 64 65 73 74 72 6f 79 | 65 64 29 09 09 09 09 00 | destroy|ed).....|
|00004670| 43 72 79 70 74 45 6e 63 | 72 79 70 74 20 28 68 4b |CryptEnc|rypt (hK|
|00004680| 65 79 20 3d 20 30 78 66 | 66 66 66 66 66 66 66 29 |ey = 0xf|fffffff)|
|00004690| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 45 6e 63 |........|CryptEnc|
|000046a0| 72 79 70 74 20 28 68 4b | 65 79 20 3d 20 30 29 09 |rypt (hK|ey = 0).|
|000046b0| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 45 6e 63 |........|CryptEnc|
|000046c0| 72 79 70 74 20 28 76 61 | 6c 69 64 20 65 78 63 68 |rypt (va|lid exch|
|000046d0| 61 6e 67 65 20 6b 65 79 | 29 09 09 09 09 00 00 00 |ange key|).......|
|000046e0| 43 72 79 70 74 45 6e 63 | 72 79 70 74 20 28 76 61 |CryptEnc|rypt (va|
|000046f0| 6c 69 64 20 73 65 73 73 | 69 6f 6e 20 6b 65 79 2c |lid sess|ion key,|
|00004700| 20 76 61 6c 69 64 20 68 | 61 73 68 20 68 61 6e 64 | valid h|ash hand|
|00004710| 6c 65 29 09 09 00 00 00 | 43 72 79 70 74 45 6e 63 |le).....|CryptEnc|
|00004720| 72 79 70 74 20 28 76 61 | 6c 69 64 20 73 65 73 73 |rypt (va|lid sess|
|00004730| 69 6f 6e 20 6b 65 79 2c | 20 68 48 61 73 68 20 3d |ion key,| hHash =|
|00004740| 20 30 2c 20 69 73 20 6c | 61 73 74 20 62 6c 6f 63 | 0, is l|ast bloc|
|00004750| 6b 29 09 00 43 72 79 70 | 74 45 6e 63 72 79 70 74 |k)..Cryp|tEncrypt|
|00004760| 20 28 76 61 6c 69 64 20 | 73 65 73 73 69 6f 6e 20 | (valid |session |
|00004770| 6b 65 79 2c 20 68 48 61 | 73 68 20 3d 20 30 2c 20 |key, hHa|sh = 0, |
|00004780| 6e 6f 74 20 6c 61 73 74 | 20 62 6c 6f 63 6b 29 09 |not last| block).|
|00004790| 00 00 00 00 43 72 79 70 | 74 43 72 65 61 74 65 48 |....Cryp|tCreateH|
|000047a0| 61 73 68 20 28 4d 44 34 | 29 09 09 09 09 09 09 00 |ash (MD4|).......|
|000047b0| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 20 |CryptDes|troyKey |
|000047c0| 28 73 74 72 65 61 6d 20 | 63 69 70 68 65 72 29 09 |(stream |cipher).|
|000047d0| 09 09 09 09 00 00 00 00 | 2a 2a 2a 2a 2a 20 54 65 |........|***** Te|
|000047e0| 73 74 20 43 72 79 70 74 | 45 6e 63 72 79 70 74 20 |st Crypt|Encrypt |
|000047f0| 2a 2a 2a 2a 2a 0a 00 00 | 43 6f 6d 70 61 72 65 20 |*****...|Compare |
|00004800| 68 61 73 68 20 76 61 6c | 75 65 73 20 66 72 6f 6d |hash val|ues from|
|00004810| 20 43 72 79 70 74 44 65 | 63 72 79 70 74 20 61 6e | CryptDe|crypt an|
|00004820| 64 20 43 72 79 70 74 48 | 61 73 68 44 61 74 61 0a |d CryptH|ashData.|
|00004830| 00 00 00 00 43 72 79 70 | 74 44 65 63 72 79 70 74 |....Cryp|tDecrypt|
|00004840| 20 28 2a 70 77 64 44 61 | 74 61 4c 65 6e 20 3d 20 | (*pwdDa|taLen = |
|00004850| 31 38 2c 20 6e 6f 74 20 | 6c 61 73 74 20 62 6c 6f |18, not |last blo|
|00004860| 63 6b 29 09 09 09 00 00 | 43 72 79 70 74 44 65 63 |ck).....|CryptDec|
|00004870| 72 79 70 74 20 28 70 64 | 77 44 61 74 61 4c 65 6e |rypt (pd|wDataLen|
|00004880| 20 3d 20 4e 55 4c 4c 29 | 09 09 09 09 00 00 00 00 | = NULL)|........|
|00004890| 43 72 79 70 74 44 65 63 | 72 79 70 74 20 28 70 64 |CryptDec|rypt (pd|
|000048a0| 77 44 61 74 61 4c 65 6e | 20 3d 20 34 29 09 09 09 |wDataLen| = 4)...|
|000048b0| 09 09 00 00 43 72 79 70 | 74 44 65 63 72 79 70 74 |....Cryp|tDecrypt|
|000048c0| 20 28 2a 70 64 77 44 61 | 74 61 4c 65 6e 20 3d 20 | (*pdwDa|taLen = |
|000048d0| 30 29 09 09 09 09 09 00 | 43 72 79 70 74 44 65 63 |0)......|CryptDec|
|000048e0| 72 79 70 74 20 28 70 62 | 44 61 74 61 20 3d 20 4e |rypt (pb|Data = N|
|000048f0| 55 4c 4c 29 09 09 09 09 | 09 00 00 00 43 72 79 70 |ULL)....|....Cryp|
|00004900| 74 44 65 63 72 79 70 74 | 20 28 70 62 44 61 74 61 |tDecrypt| (pbData|
|00004910| 20 3d 20 31 29 09 09 09 | 09 09 00 00 43 72 79 70 | = 1)...|....Cryp|
|00004920| 74 44 65 63 72 79 70 74 | 20 28 64 77 46 6c 61 67 |tDecrypt| (dwFlag|
|00004930| 73 20 3d 20 30 78 66 66 | 66 66 66 66 66 66 29 09 |s = 0xff|ffffff).|
|00004940| 09 09 09 00 43 72 79 70 | 74 44 65 63 72 79 70 74 |....Cryp|tDecrypt|
|00004950| 20 28 68 48 61 73 68 20 | 3d 20 68 61 73 68 20 6f | (hHash |= hash o|
|00004960| 62 6a 65 63 74 20 61 6c | 72 65 61 64 79 20 64 65 |bject al|ready de|
|00004970| 73 74 72 6f 79 65 64 29 | 09 09 00 00 43 72 79 70 |stroyed)|....Cryp|
|00004980| 74 44 65 63 72 79 70 74 | 20 28 68 48 61 73 68 20 |tDecrypt| (hHash |
|00004990| 3d 20 68 61 73 68 20 6f | 62 6a 65 63 74 20 61 6c |= hash o|bject al|
|000049a0| 72 65 61 64 79 20 66 69 | 6e 69 73 68 65 64 29 09 |ready fi|nished).|
|000049b0| 09 00 00 00 43 72 79 70 | 74 44 65 63 72 79 70 74 |....Cryp|tDecrypt|
|000049c0| 20 28 68 48 61 73 68 20 | 3d 20 30 78 66 66 66 66 | (hHash |= 0xffff|
|000049d0| 66 66 66 66 29 09 09 09 | 09 00 00 00 43 72 79 70 |ffff)...|....Cryp|
|000049e0| 74 44 65 63 72 79 70 74 | 20 28 68 4b 65 79 20 3d |tDecrypt| (hKey =|
|000049f0| 20 61 6c 72 65 61 64 79 | 20 64 65 73 74 72 6f 79 | already| destroy|
|00004a00| 65 64 29 09 09 09 09 00 | 43 72 79 70 74 44 65 63 |ed).....|CryptDec|
|00004a10| 72 79 70 74 20 28 68 4b | 65 79 20 3d 20 30 78 66 |rypt (hK|ey = 0xf|
|00004a20| 66 66 66 66 66 66 66 29 | 09 09 09 09 00 00 00 00 |fffffff)|........|
|00004a30| 43 72 79 70 74 44 65 63 | 72 79 70 74 20 28 68 4b |CryptDec|rypt (hK|
|00004a40| 65 79 20 3d 20 30 29 09 | 09 09 09 09 09 00 00 00 |ey = 0).|........|
|00004a50| 43 72 79 70 74 44 65 63 | 72 79 70 74 20 28 76 61 |CryptDec|rypt (va|
|00004a60| 6c 69 64 20 65 78 63 68 | 61 6e 67 65 20 6b 65 79 |lid exch|ange key|
|00004a70| 29 09 09 09 09 00 00 00 | 43 72 79 70 74 44 65 63 |).......|CryptDec|
|00004a80| 72 79 70 74 20 28 76 61 | 6c 69 64 20 73 65 73 73 |rypt (va|lid sess|
|00004a90| 69 6f 6e 20 6b 65 79 2c | 20 76 61 6c 69 64 20 68 |ion key,| valid h|
|00004aa0| 61 73 68 20 68 61 6e 64 | 6c 65 29 09 09 00 00 00 |ash hand|le).....|
|00004ab0| 43 72 79 70 74 44 65 63 | 72 79 70 74 20 28 76 61 |CryptDec|rypt (va|
|00004ac0| 6c 69 64 20 73 65 73 73 | 69 6f 6e 20 6b 65 79 2c |lid sess|ion key,|
|00004ad0| 20 68 48 61 73 68 20 3d | 20 30 2c 20 69 73 20 6c | hHash =| 0, is l|
|00004ae0| 61 73 74 20 62 6c 6f 63 | 6b 29 09 00 43 72 79 70 |ast bloc|k)..Cryp|
|00004af0| 74 44 65 63 72 79 70 74 | 20 28 76 61 6c 69 64 20 |tDecrypt| (valid |
|00004b00| 73 65 73 73 69 6f 6e 20 | 6b 65 79 2c 20 68 48 61 |session |key, hHa|
|00004b10| 73 68 20 3d 20 30 2c 20 | 6e 6f 74 20 6c 61 73 74 |sh = 0, |not last|
|00004b20| 20 62 6c 6f 63 6b 29 09 | 00 00 00 00 2a 2a 2a 2a | block).|....****|
|00004b30| 2a 20 54 65 73 74 20 43 | 72 79 70 74 44 65 63 72 |* Test C|ryptDecr|
|00004b40| 79 70 74 20 2a 2a 2a 2a | 2a 0a 00 00 53 63 23 31 |ypt ****|*...Sc#1|
|00004b50| 20 48 61 73 68 65 73 20 | 44 69 64 6e 27 74 20 4d | Hashes |Didn't M|
|00004b60| 61 74 63 68 00 00 00 00 | 53 63 23 31 20 43 6f 6d |atch....|Sc#1 Com|
|00004b70| 70 61 72 69 6e 67 20 74 | 77 6f 20 74 79 70 65 73 |paring t|wo types|
|00004b80| 20 6f 66 20 48 61 73 68 | 65 73 09 09 09 09 00 00 | of Hash|es......|
|00004b90| 43 72 79 70 74 47 65 74 | 48 61 73 68 50 61 72 61 |CryptGet|HashPara|
|00004ba0| 6d 3a 20 53 63 23 31 20 | 4d 44 35 20 48 61 73 68 |m: Sc#1 |MD5 Hash|
|00004bb0| 31 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |1.......|CryptGet|
|00004bc0| 48 61 73 68 50 61 72 61 | 6d 3a 20 53 63 23 31 20 |HashPara|m: Sc#1 |
|00004bd0| 4d 44 35 20 48 61 73 68 | 09 09 09 09 00 00 00 00 |MD5 Hash|........|
|00004be0| 43 72 79 70 74 48 61 73 | 68 44 61 74 61 3a 20 53 |CryptHas|hData: S|
|00004bf0| 63 23 31 20 4d 44 35 20 | 48 61 73 68 31 09 09 09 |c#1 MD5 |Hash1...|
|00004c00| 09 09 00 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |....Cryp|tHashDat|
|00004c10| 61 3a 20 53 63 23 31 20 | 4d 44 35 20 48 61 73 68 |a: Sc#1 |MD5 Hash|
|00004c20| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 43 72 65 |........|CryptCre|
|00004c30| 61 74 65 48 61 73 68 3a | 20 53 63 23 31 20 4d 44 |ateHash:| Sc#1 MD|
|00004c40| 35 20 48 61 73 68 31 09 | 09 09 09 09 00 00 00 00 |5 Hash1.|........|
|00004c50| 43 72 79 70 74 43 72 65 | 61 74 65 48 61 73 68 3a |CryptCre|ateHash:|
|00004c60| 20 53 63 23 31 20 4d 44 | 35 20 48 61 73 68 09 09 | Sc#1 MD|5 Hash..|
|00004c70| 09 09 09 00 43 72 79 70 | 74 47 65 74 48 61 73 68 |....Cryp|tGetHash|
|00004c80| 50 61 72 61 6d 3a 20 66 | 6f 72 20 4d 44 34 20 48 |Param: f|or MD4 H|
|00004c90| 61 73 68 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |ash.....|....Cryp|
|00004ca0| 74 48 61 73 68 44 61 74 | 61 3a 20 64 77 46 6c 61 |tHashDat|a: dwFla|
|00004cb0| 67 73 20 3d 20 55 53 45 | 52 44 41 54 41 09 09 09 |gs = USE|RDATA...|
|00004cc0| 09 00 00 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |....Cryp|tHashDat|
|00004cd0| 61 3a 20 64 77 46 6c 61 | 67 73 20 3d 20 2d 32 09 |a: dwFla|gs = -2.|
|00004ce0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 48 61 73 |........|CryptHas|
|00004cf0| 68 44 61 74 61 3a 20 42 | 4c 65 6e 20 3d 20 2d 32 |hData: B|Len = -2|
|00004d00| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 48 61 73 |........|CryptHas|
|00004d10| 68 44 61 74 61 3a 20 42 | 4c 65 6e 20 3d 20 30 09 |hData: B|Len = 0.|
|00004d20| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 48 61 73 |........|CryptHas|
|00004d30| 68 44 61 74 61 3a 20 69 | 6e 76 61 6c 69 64 20 70 |hData: i|nvalid p|
|00004d40| 62 44 61 74 61 09 09 09 | 09 09 00 00 43 72 79 70 |bData...|....Cryp|
|00004d50| 74 48 61 73 68 44 61 74 | 61 3a 20 69 6e 76 61 6c |tHashDat|a: inval|
|00004d60| 69 64 20 68 61 73 68 20 | 61 6c 72 65 61 64 79 20 |id hash |already |
|00004d70| 64 65 73 74 72 6f 79 65 | 64 09 09 09 00 00 00 00 |destroye|d.......|
|00004d80| 43 72 79 70 74 44 65 73 | 74 72 6f 79 48 61 73 68 |CryptDes|troyHash|
|00004d90| 3a 20 66 6f 72 20 4d 41 | 43 20 48 61 73 68 09 09 |: for MA|C Hash..|
|00004da0| 09 09 09 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |....Cryp|tHashDat|
|00004db0| 61 3a 20 69 6e 76 61 6c | 69 64 20 68 61 73 68 20 |a: inval|id hash |
|00004dc0| 61 6c 72 65 61 64 79 20 | 66 69 6e 69 73 68 65 64 |already |finished|
|00004dd0| 09 09 09 00 43 72 79 70 | 74 47 65 74 48 61 73 68 |....Cryp|tGetHash|
|00004de0| 50 61 72 61 6d 3a 20 66 | 6f 72 20 4d 41 43 20 48 |Param: f|or MAC H|
|00004df0| 61 73 68 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |ash.....|....Cryp|
|00004e00| 74 48 61 73 68 44 61 74 | 61 3a 20 69 6e 76 61 6c |tHashDat|a: inval|
|00004e10| 69 64 20 68 61 73 68 20 | 6f 62 6a 65 63 74 20 30 |id hash |object 0|
|00004e20| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 48 61 73 |........|CryptHas|
|00004e30| 68 44 61 74 61 3a 20 69 | 6e 76 61 6c 69 64 20 68 |hData: i|nvalid h|
|00004e40| 61 73 68 20 6f 62 6a 65 | 63 74 20 09 09 09 09 00 |ash obje|ct .....|
|00004e50| 0a 2a 2a 2a 2a 2a 20 54 | 65 73 74 20 43 72 79 70 |.***** T|est Cryp|
|00004e60| 74 48 61 73 68 44 61 74 | 61 20 2a 2a 2a 2a 2a 0a |tHashDat|a *****.|
|00004e70| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00004e80| 73 69 6f 6e 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |sionKey:| invalid|
|00004e90| 20 76 61 6c 75 65 20 6f | 66 20 64 77 46 6c 61 67 | value o|f dwFlag|
|00004ea0| 73 20 09 09 09 00 00 00 | 43 72 79 70 74 48 61 73 |s ......|CryptHas|
|00004eb0| 68 53 65 73 73 69 6f 6e | 4b 65 79 3a 20 69 6e 76 |hSession|Key: inv|
|00004ec0| 61 6c 69 64 20 64 65 73 | 74 72 6f 79 65 64 20 6b |alid des|troyed k|
|00004ed0| 65 79 20 68 61 6e 64 6c | 65 20 09 09 00 00 00 00 |ey handl|e ......|
|00004ee0| 43 72 79 70 74 44 65 73 | 74 72 6f 79 4b 65 79 3a |CryptDes|troyKey:|
|00004ef0| 20 70 68 4b 65 79 52 43 | 32 09 09 09 09 09 00 00 | phKeyRC|2.......|
|00004f00| 43 72 79 70 74 48 61 73 | 68 53 65 73 73 69 6f 6e |CryptHas|hSession|
|00004f10| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 6b 65 79 |Key: inv|alid key|
|00004f20| 20 68 61 6e 64 6c 65 20 | 30 09 09 09 00 00 00 00 | handle |0.......|
|00004f30| 43 72 79 70 74 48 61 73 | 68 53 65 73 73 69 6f 6e |CryptHas|hSession|
|00004f40| 4b 65 79 3a 20 69 6e 76 | 61 6c 69 64 20 68 61 6e |Key: inv|alid han|
|00004f50| 64 6c 65 20 68 4b 65 79 | 33 09 09 09 00 00 00 00 |dle hKey|3.......|
|00004f60| 43 72 79 70 74 44 65 73 | 74 72 6f 79 48 61 73 68 |CryptDes|troyHash|
|00004f70| 3a 20 68 42 61 73 65 44 | 61 74 61 20 4d 44 35 20 |: hBaseD|ata MD5 |
|00004f80| 48 61 73 68 09 09 09 09 | 00 00 00 00 43 72 79 70 |Hash....|....Cryp|
|00004f90| 74 47 65 74 48 61 73 68 | 50 61 72 61 6d 3a 20 68 |tGetHash|Param: h|
|00004fa0| 42 61 73 65 44 61 74 61 | 20 4d 44 35 20 48 61 73 |BaseData| MD5 Has|
|00004fb0| 68 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |h.......|CryptGet|
|00004fc0| 48 61 73 68 50 61 72 61 | 6d 3a 20 47 65 74 74 69 |HashPara|m: Getti|
|00004fd0| 6e 67 20 76 61 6c 75 65 | 20 6f 66 20 42 4c 65 6e |ng value| of BLen|
|00004fe0| 09 09 09 00 43 72 79 70 | 74 48 61 73 68 44 61 74 |....Cryp|tHashDat|
|00004ff0| 61 3a 20 4d 44 35 20 48 | 61 73 68 09 09 09 09 09 |a: MD5 H|ash.....|
|00005000| 09 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005010| 73 69 6f 6e 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |sionKey:| invalid|
|00005020| 20 68 61 6e 64 6c 65 20 | 30 20 68 48 61 73 68 09 | handle |0 hHash.|
|00005030| 09 09 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005040| 73 69 6f 6e 4b 65 79 3a | 20 69 6e 76 61 6c 69 64 |sionKey:| invalid|
|00005050| 20 68 61 6e 64 6c 65 20 | 68 48 61 73 68 09 09 09 | handle |hHash...|
|00005060| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005070| 73 69 6f 6e 4b 65 79 3a | 20 53 49 47 4e 41 54 55 |sionKey:| SIGNATU|
|00005080| 52 45 20 4b 65 79 20 69 | 6e 20 4d 41 43 09 09 09 |RE Key i|n MAC...|
|00005090| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|000050a0| 73 69 6f 6e 4b 65 79 3a | 20 53 49 47 4e 41 54 55 |sionKey:| SIGNATU|
|000050b0| 52 45 20 4b 65 79 20 69 | 6e 20 53 48 41 09 09 09 |RE Key i|n SHA...|
|000050c0| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|000050d0| 73 69 6f 6e 4b 65 79 3a | 20 53 49 47 4e 41 54 55 |sionKey:| SIGNATU|
|000050e0| 52 45 20 4b 65 79 20 69 | 6e 20 4d 44 35 09 09 09 |RE Key i|n MD5...|
|000050f0| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005100| 73 69 6f 6e 4b 65 79 3a | 20 53 49 47 4e 41 54 55 |sionKey:| SIGNATU|
|00005110| 52 45 20 4b 65 79 20 69 | 6e 20 4d 44 34 09 09 09 |RE Key i|n MD4...|
|00005120| 00 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005130| 73 69 6f 6e 4b 65 79 3a | 20 4b 45 59 45 58 20 4b |sionKey:| KEYEX K|
|00005140| 65 79 20 69 6e 20 4d 41 | 43 09 09 09 09 00 00 00 |ey in MA|C.......|
|00005150| 43 72 79 70 74 48 61 73 | 68 53 65 73 73 69 6f 6e |CryptHas|hSession|
|00005160| 4b 65 79 3a 20 4b 45 59 | 45 58 20 4b 65 79 20 69 |Key: KEY|EX Key i|
|00005170| 6e 20 53 48 41 09 09 09 | 09 00 00 00 43 72 79 70 |n SHA...|....Cryp|
|00005180| 74 48 61 73 68 53 65 73 | 73 69 6f 6e 4b 65 79 3a |tHashSes|sionKey:|
|00005190| 20 4b 45 59 45 58 20 4b | 65 79 20 69 6e 20 4d 44 | KEYEX K|ey in MD|
|000051a0| 35 09 09 09 09 00 00 00 | 43 72 79 70 74 48 61 73 |5.......|CryptHas|
|000051b0| 68 53 65 73 73 69 6f 6e | 4b 65 79 3a 20 4b 45 59 |hSession|Key: KEY|
|000051c0| 45 58 20 4b 65 79 20 69 | 6e 20 4d 44 34 09 09 09 |EX Key i|n MD4...|
|000051d0| 09 00 00 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|000051e0| 73 69 6f 6e 4b 65 79 3a | 20 52 43 34 20 4b 65 79 |sionKey:| RC4 Key|
|000051f0| 20 69 6e 20 4d 41 43 09 | 09 09 09 00 43 72 79 70 | in MAC.|....Cryp|
|00005200| 74 48 61 73 68 53 65 73 | 73 69 6f 6e 4b 65 79 3a |tHashSes|sionKey:|
|00005210| 20 52 43 34 20 4b 65 79 | 20 69 6e 20 53 48 41 09 | RC4 Key| in SHA.|
|00005220| 09 09 09 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005230| 73 69 6f 6e 4b 65 79 3a | 20 52 43 34 20 4b 65 79 |sionKey:| RC4 Key|
|00005240| 20 69 6e 20 4d 44 35 09 | 09 09 09 00 43 72 79 70 | in MD5.|....Cryp|
|00005250| 74 48 61 73 68 53 65 73 | 73 69 6f 6e 4b 65 79 3a |tHashSes|sionKey:|
|00005260| 20 52 43 34 20 4b 65 79 | 20 69 6e 20 4d 44 34 09 | RC4 Key| in MD4.|
|00005270| 09 09 09 00 43 72 79 70 | 74 48 61 73 68 53 65 73 |....Cryp|tHashSes|
|00005280| 73 69 6f 6e 4b 65 79 3a | 20 52 43 32 20 4b 65 79 |sionKey:| RC2 Key|
|00005290| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |........|CryptGet|
|000052a0| 55 73 65 72 4b 65 79 3a | 20 41 54 5f 53 49 47 4e |UserKey:| AT_SIGN|
|000052b0| 41 54 55 52 45 09 09 09 | 09 09 00 00 43 72 79 70 |ATURE...|....Cryp|
|000052c0| 74 47 65 74 55 73 65 72 | 4b 65 79 3a 20 41 54 5f |tGetUser|Key: AT_|
|000052d0| 4b 45 59 45 58 43 48 41 | 4e 47 45 09 09 09 09 09 |KEYEXCHA|NGE.....|
|000052e0| 00 00 00 00 43 72 79 70 | 74 47 65 6e 4b 65 79 3a |....Cryp|tGenKey:|
|000052f0| 20 66 6f 72 20 52 43 34 | 09 09 09 09 09 09 00 00 | for RC4|........|
|00005300| 43 72 79 70 74 47 65 6e | 4b 65 79 3a 20 66 6f 72 |CryptGen|Key: for|
|00005310| 20 52 43 32 09 09 09 09 | 09 09 00 00 0a 2a 2a 2a | RC2....|.....***|
|00005320| 2a 2a 20 54 65 73 74 20 | 43 72 79 70 74 48 61 73 |** Test |CryptHas|
|00005330| 68 53 65 73 73 69 6f 6e | 4b 65 79 20 2a 2a 2a 2a |hSession|Key ****|
|00005340| 2a 0a 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |*...Cryp|tDestroy|
|00005350| 48 61 73 68 3a 20 66 6f | 72 20 4d 44 34 20 48 61 |Hash: fo|r MD4 Ha|
|00005360| 73 68 09 09 09 09 09 00 | 43 72 79 70 74 47 65 74 |sh......|CryptGet|
|00005370| 48 61 73 68 50 61 72 61 | 6d 3a 20 69 6e 76 61 6c |HashPara|m: inval|
|00005380| 69 64 20 64 77 46 6c 61 | 67 73 20 31 09 09 09 09 |id dwFla|gs 1....|
|00005390| 00 00 00 00 43 72 79 70 | 74 47 65 74 48 61 73 68 |....Cryp|tGetHash|
|000053a0| 50 61 72 61 6d 3a 20 70 | 64 77 48 61 73 68 4c 65 |Param: p|dwHashLe|
|000053b0| 6e 20 3d 20 4e 55 4c 4c | 09 09 09 09 00 00 00 00 |n = NULL|........|
|000053c0| 43 72 79 70 74 47 65 74 | 48 61 73 68 50 61 72 61 |CryptGet|HashPara|
|000053d0| 6d 3a 20 70 64 77 48 61 | 73 68 4c 65 6e 20 3d 20 |m: pdwHa|shLen = |
|000053e0| 30 09 09 09 09 00 00 00 | 43 72 79 70 74 47 65 74 |0.......|CryptGet|
|000053f0| 48 61 73 68 50 61 72 61 | 6d 3a 20 4e 55 4c 4c 20 |HashPara|m: NULL |
|00005400| 66 6f 72 20 70 62 48 61 | 73 68 09 09 09 09 00 00 |for pbHa|sh......|
|00005410| 43 72 79 70 74 47 65 74 | 48 61 73 68 50 61 72 61 |CryptGet|HashPara|
|00005420| 6d 3a 20 64 65 73 74 72 | 6f 79 65 64 20 68 61 73 |m: destr|oyed has|
|00005430| 68 20 68 61 6e 64 6c 65 | 09 09 09 00 43 72 79 70 |h handle|....Cryp|
|00005440| 74 47 65 74 48 61 73 68 | 50 61 72 61 6d 3a 20 66 |tGetHash|Param: f|
|00005450| 69 6e 69 73 68 65 64 20 | 68 61 73 68 20 68 61 6e |inished |hash han|
|00005460| 64 6c 65 09 09 09 09 00 | 43 72 79 70 74 47 65 74 |dle.....|CryptGet|
|00005470| 48 61 73 68 50 61 72 61 | 6d 3a 20 49 6e 76 61 6c |HashPara|m: Inval|
|00005480| 69 64 20 70 6f 69 6e 74 | 65 72 20 30 20 61 73 20 |id point|er 0 as |
|00005490| 68 42 61 73 65 44 61 74 | 61 09 09 00 43 72 79 70 |hBaseDat|a...Cryp|
|000054a0| 74 47 65 74 48 61 73 68 | 50 61 72 61 6d 3a 20 49 |tGetHash|Param: I|
|000054b0| 6e 76 61 6c 69 64 20 70 | 6f 69 6e 74 65 72 20 68 |nvalid p|ointer h|
|000054c0| 42 61 73 65 44 61 74 61 | 09 09 09 00 0a 2a 2a 2a |BaseData|.....***|
|000054d0| 2a 2a 20 54 65 73 74 20 | 43 72 79 70 74 47 65 74 |** Test |CryptGet|
|000054e0| 48 61 73 68 50 61 72 61 | 6d 20 2a 2a 2a 2a 2a 0a |HashPara|m *****.|
|000054f0| 00 00 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |....Cryp|tDestroy|
|00005500| 4b 65 79 3a 20 66 6f 72 | 20 52 43 34 20 4b 65 79 |Key: for| RC4 Key|
|00005510| 09 09 09 09 09 00 00 00 | 43 72 79 70 74 44 65 73 |........|CryptDes|
|00005520| 74 72 6f 79 4b 65 79 3a | 20 66 6f 72 20 52 43 32 |troyKey:| for RC2|
|00005530| 20 4b 65 79 09 09 09 09 | 09 00 00 00 43 72 79 70 | Key....|....Cryp|
|00005540| 74 44 65 73 74 72 6f 79 | 4b 65 79 3a 20 66 6f 72 |tDestroy|Key: for|
|00005550| 20 50 75 62 6c 69 63 20 | 4b 65 79 20 45 78 63 68 | Public |Key Exch|
|00005560| 61 6e 67 65 20 4b 65 79 | 09 09 09 00 43 72 79 70 |ange Key|....Cryp|
|00005570| 74 44 65 73 74 72 6f 79 | 4b 65 79 3a 20 66 6f 72 |tDestroy|Key: for|
|00005580| 20 50 75 62 6c 69 63 20 | 53 49 47 20 4b 65 79 09 | Public |SIG Key.|
|00005590| 09 09 09 00 43 72 79 70 | 74 53 69 67 6e 48 61 73 |....Cryp|tSignHas|
|000055a0| 68 3a 20 4e 55 4c 4c 20 | 70 62 53 69 67 6e 61 74 |h: NULL |pbSignat|
|000055b0| 75 72 65 09 09 09 09 09 | 00 00 00 00 43 72 79 70 |ure.....|....Cryp|
|000055c0| 74 53 69 67 6e 48 61 73 | 68 3a 20 4e 55 4c 4c 20 |tSignHas|h: NULL |
|000055d0| 70 64 77 53 69 67 4c 65 | 6e 09 09 09 09 09 00 00 |pdwSigLe|n.......|
|000055e0| 43 72 79 70 74 53 69 67 | 6e 48 61 73 68 3a 20 70 |CryptSig|nHash: p|
|000055f0| 64 77 53 69 67 4c 65 6e | 20 3d 20 30 09 09 09 09 |dwSigLen| = 0....|
|00005600| 09 00 00 00 43 72 79 70 | 74 53 69 67 6e 48 61 73 |....Cryp|tSignHas|
|00005610| 68 3a 20 30 78 66 66 66 | 66 66 66 66 66 20 61 73 |h: 0xfff|fffff as|
|00005620| 20 70 62 53 69 67 6e 61 | 74 75 72 65 09 09 09 00 | pbSigna|ture....|
|00005630| 43 72 79 70 74 53 69 67 | 6e 48 61 73 68 3a 20 62 |CryptSig|nHash: b|
|00005640| 61 64 20 76 61 6c 75 65 | 20 6f 66 20 64 77 46 6c |ad value| of dwFl|
|00005650| 61 67 73 09 09 09 09 00 | 43 72 79 70 74 53 69 67 |ags.....|CryptSig|
|00005660| 6e 48 61 73 68 3a 20 53 | 69 67 6e 69 6e 67 20 4d |nHash: S|igning M|
|00005670| 44 34 20 68 61 73 68 20 | 77 69 74 68 20 69 6e 76 |D4 hash |with inv|
|00005680| 61 6c 69 64 20 64 65 73 | 63 72 69 70 74 69 6f 6e |alid des|cription|
|00005690| 20 73 74 72 69 6e 67 09 | 00 00 00 00 43 72 79 70 | string.|....Cryp|
|000056a0| 74 53 69 67 6e 48 61 73 | 68 3a 20 53 69 67 6e 69 |tSignHas|h: Signi|
|000056b0| 6e 67 20 4d 44 34 20 68 | 61 73 68 20 77 69 74 68 |ng MD4 h|ash with|
|000056c0| 20 6c 6f 6f 6f 6f 6e 67 | 20 73 74 72 69 6e 67 09 | loooong| string.|
|000056d0| 09 00 00 00 43 72 79 70 | 74 53 69 67 6e 48 61 73 |....Cryp|tSignHas|
|000056e0| 68 3a 20 53 69 67 6e 69 | 6e 67 20 4d 44 35 20 68 |h: Signi|ng MD5 h|
|000056f0| 61 73 68 20 77 20 4e 55 | 4c 4c 20 61 73 20 73 44 |ash w NU|LL as sD|
|00005700| 65 73 63 72 69 70 74 69 | 6f 6e 09 09 00 00 00 00 |escripti|on......|
|00005710| 43 72 79 70 74 53 69 67 | 6e 48 61 73 68 3a 20 53 |CryptSig|nHash: S|
|00005720| 69 67 6e 69 6e 67 20 4d | 44 35 20 68 61 73 68 20 |igning M|D5 hash |
|00005730| 77 2f 20 73 44 65 73 63 | 72 69 70 74 69 6f 6e 09 |w/ sDesc|ription.|
|00005740| 09 09 00 00 00 00 00 00 | 43 72 79 70 74 44 65 73 |........|CryptDes|
|00005750| 74 72 6f 79 48 61 73 68 | 3a 20 66 6f 72 20 53 48 |troyHash|: for SH|
|00005760| 41 20 48 61 73 68 09 09 | 09 09 09 00 43 72 79 70 |A Hash..|....Cryp|
|00005770| 74 53 69 67 6e 48 61 73 | 68 3a 20 53 69 67 6e 69 |tSignHas|h: Signi|
|00005780| 6e 67 20 30 20 68 61 73 | 68 20 09 09 09 09 09 00 |ng 0 has|h ......|
|00005790| 43 72 79 70 74 53 69 67 | 6e 48 61 73 68 3a 20 53 |CryptSig|nHash: S|
|000057a0| 69 67 6e 69 6e 67 20 64 | 65 73 74 6f 72 79 65 64 |igning d|estoryed|
|000057b0| 20 68 61 73 68 20 09 09 | 09 09 00 00 43 72 79 70 | hash ..|....Cryp|
|000057c0| 74 53 69 67 6e 48 61 73 | 68 3a 20 53 69 67 6e 69 |tSignHas|h: Signi|
|000057d0| 6e 67 20 66 69 6e 69 73 | 68 65 64 20 68 61 73 68 |ng finis|hed hash|
|000057e0| 20 09 09 09 09 00 00 00 | 43 72 79 70 74 53 69 67 | .......|CryptSig|
|000057f0| 6e 48 61 73 68 3a 20 53 | 69 67 6e 69 6e 67 20 53 |nHash: S|igning S|
|00005800| 48 41 20 68 61 73 68 20 | 77 2f 4b 45 59 45 58 20 |HA hash |w/KEYEX |
|00005810| 6b 65 79 09 09 09 00 00 | 43 72 79 70 74 53 69 67 |key.....|CryptSig|
|00005820| 6e 48 61 73 68 3a 20 53 | 69 67 6e 69 6e 67 20 4d |nHash: S|igning M|
|00005830| 41 43 20 68 61 73 68 20 | 77 2f 53 49 47 4e 20 6b |AC hash |w/SIGN k|
|00005840| 65 79 09 09 09 00 00 00 | 43 72 79 70 74 53 69 67 |ey......|CryptSig|
|00005850| 6e 48 61 73 68 3a 20 53 | 69 67 6e 69 6e 67 20 4d |nHash: S|igning M|
|00005860| 44 34 20 68 61 73 68 20 | 77 2f 4b 45 59 45 58 20 |D4 hash |w/KEYEX |
|00005870| 6b 65 79 09 09 09 00 00 | 4d 79 20 6e 61 6d 65 20 |key.....|My name |
|00005880| 69 73 00 00 0a 2a 2a 2a | 2a 2a 20 54 65 73 74 20 |is...***|** Test |
|00005890| 43 72 79 70 74 53 69 67 | 6e 48 61 73 68 20 2a 2a |CryptSig|nHash **|
|000058a0| 2a 2a 2a 0a 00 00 00 00 | 43 72 79 70 74 45 78 70 |***.....|CryptExp|
|000058b0| 6f 72 74 4b 65 79 20 28 | 53 49 4d 50 4c 45 42 4c |ortKey (|SIMPLEBL|
|000058c0| 4f 42 2c 20 6e 6f 74 20 | 65 78 70 6f 72 74 61 62 |OB, not |exportab|
|000058d0| 6c 65 29 09 09 09 00 00 | 73 69 6d 70 6c 65 42 6c |le).....|simpleBl|
|000058e0| 6f 62 5b 38 2d 31 31 5d | 20 21 3d 20 43 41 4c 47 |ob[8-11]| != CALG|
|000058f0| 5f 52 53 41 5f 4b 45 59 | 58 00 00 00 73 69 6d 70 |_RSA_KEY|X...simp|
|00005900| 6c 65 42 6c 6f 62 5b 34 | 2d 37 5d 20 21 3d 20 43 |leBlob[4|-7] != C|
|00005910| 41 4c 47 5f 52 43 32 00 | 73 69 6d 70 6c 65 42 6c |ALG_RC2.|simpleBl|
|00005920| 6f 62 5b 30 5d 20 21 3d | 20 53 49 4d 50 4c 45 42 |ob[0] !=| SIMPLEB|
|00005930| 4c 4f 42 00 63 68 65 63 | 6b 69 6e 67 20 66 6f 72 |LOB.chec|king for|
|00005940| 6d 61 74 20 6f 66 20 53 | 49 4d 50 4c 45 42 4c 4f |mat of S|IMPLEBLO|
|00005950| 42 09 09 09 09 09 00 00 | 62 6c 6f 62 20 6c 65 6e |B.......|blob len|
|00005960| 67 74 68 20 6e 6f 74 20 | 65 78 70 65 63 74 65 64 |gth not |expected|
|00005970| 00 00 00 00 70 75 62 42 | 6c 6f 62 5b 38 2d 31 31 |....pubB|lob[8-11|
|00005980| 5d 20 21 3d 20 22 52 53 | 41 31 22 00 52 53 41 31 |] != "RS|A1".RSA1|
|00005990| 00 00 00 00 70 75 62 42 | 6c 6f 62 5b 34 2d 37 5d |....pubB|lob[4-7]|
|000059a0| 20 21 3d 20 43 41 4c 47 | 5f 52 53 41 5f 4b 45 59 | != CALG|_RSA_KEY|
|000059b0| 58 00 00 00 70 75 62 42 | 6c 6f 62 5b 30 5d 20 21 |X...pubB|lob[0] !|
|000059c0| 3d 20 50 55 42 4c 49 43 | 4b 45 59 42 4c 4f 42 00 |= PUBLIC|KEYBLOB.|
|000059d0| 63 68 65 63 6b 69 6e 67 | 20 66 6f 72 6d 61 74 20 |checking| format |
|000059e0| 6f 66 20 50 55 42 4c 49 | 43 4b 45 59 42 4c 4f 42 |of PUBLI|CKEYBLOB|
|000059f0| 09 09 09 09 00 00 00 00 | 43 72 79 70 74 45 78 70 |........|CryptExp|
|00005a00| 6f 72 74 4b 65 79 20 28 | 68 4b 65 79 20 3d 20 73 |ortKey (|hKey = s|
|00005a10| 65 73 73 69 6f 6e 20 6b | 65 79 2c 20 68 45 78 4b |ession k|ey, hExK|
|00005a20| 65 79 20 3d 20 30 29 09 | 09 09 00 00 43 72 79 70 |ey = 0).|....Cryp|
|00005a30| 74 45 78 70 6f 72 74 4b | 65 79 20 28 68 4b 65 79 |tExportK|ey (hKey|
|00005a40| 20 61 6e 64 20 68 45 78 | 4b 65 79 20 3d 20 70 75 | and hEx|Key = pu|
|00005a50| 62 6c 69 63 20 6b 65 79 | 29 09 09 09 00 00 00 00 |blic key|).......|
|00005a60| 62 6c 6f 62 20 6c 65 6e | 67 74 68 73 20 64 6f 6e |blob len|gths don|
|00005a70| 27 74 20 6d 61 74 63 68 | 00 00 00 00 43 72 79 70 |'t match|....Cryp|
|00005a80| 74 45 78 70 6f 72 74 4b | 65 79 20 28 70 62 44 61 |tExportK|ey (pbDa|
|00005a90| 74 61 20 3d 20 4e 55 4c | 4c 29 09 63 68 65 63 6b |ta = NUL|L).check|
|00005aa0| 20 6c 65 6e 67 74 68 09 | 09 09 00 00 74 72 79 20 | length.|....try |
|00005ab0| 74 6f 20 65 78 70 6f 72 | 74 20 61 20 70 75 62 6c |to expor|t a publ|
|00005ac0| 69 63 20 6b 65 79 20 69 | 6e 74 6f 20 61 20 53 49 |ic key i|nto a SI|
|00005ad0| 4d 50 4c 45 42 4c 4f 42 | 09 09 09 00 74 72 79 20 |MPLEBLOB|....try |
|00005ae0| 74 6f 20 65 78 70 6f 72 | 74 20 61 20 73 65 73 73 |to expor|t a sess|
|00005af0| 69 6f 6e 20 6b 65 79 20 | 69 6e 74 6f 20 61 20 50 |ion key |into a P|
|00005b00| 52 49 56 41 54 45 4b 45 | 59 42 4c 4f 42 09 09 00 |RIVATEKE|YBLOB...|
|00005b10| 74 72 79 20 74 6f 20 65 | 78 70 6f 72 74 20 61 20 |try to e|xport a |
|00005b20| 73 65 73 73 69 6f 6e 20 | 6b 65 79 20 69 6e 74 6f |session |key into|
|00005b30| 20 61 20 50 55 42 4c 49 | 43 4b 45 59 42 4c 4f 42 | a PUBLI|CKEYBLOB|
|00005b40| 09 09 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005b50| 65 79 20 28 69 6e 76 61 | 6c 69 64 20 70 64 77 44 |ey (inva|lid pdwD|
|00005b60| 61 74 61 20 3d 20 4e 55 | 4c 4c 29 09 09 09 09 00 |ata = NU|LL).....|
|00005b70| 43 72 79 70 74 45 78 70 | 6f 72 74 4b 65 79 20 28 |CryptExp|ortKey (|
|00005b80| 69 6e 76 61 6c 69 64 20 | 70 64 77 44 61 74 61 20 |invalid |pdwData |
|00005b90| 3d 20 30 78 66 66 66 66 | 66 66 66 66 29 09 09 09 |= 0xffff|ffff)...|
|00005ba0| 00 00 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005bb0| 65 79 20 28 69 6e 76 61 | 6c 69 64 20 2a 70 64 77 |ey (inva|lid *pdw|
|00005bc0| 44 61 74 61 20 3d 20 30 | 29 09 09 09 09 00 00 00 |Data = 0|).......|
|00005bd0| 43 72 79 70 74 45 78 70 | 6f 72 74 4b 65 79 20 28 |CryptExp|ortKey (|
|00005be0| 76 61 6c 69 64 20 70 62 | 44 61 74 61 20 3d 20 4e |valid pb|Data = N|
|00005bf0| 55 4c 4c 29 09 09 09 09 | 00 00 00 00 43 72 79 70 |ULL)....|....Cryp|
|00005c00| 74 45 78 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tExportK|ey (inva|
|00005c10| 6c 69 64 20 70 62 44 61 | 74 61 20 3d 20 30 78 66 |lid pbDa|ta = 0xf|
|00005c20| 66 66 66 66 66 66 66 29 | 09 09 09 00 43 72 79 70 |fffffff)|....Cryp|
|00005c30| 74 45 78 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tExportK|ey (inva|
|00005c40| 6c 69 64 20 64 77 46 6c | 61 67 73 20 3d 20 30 78 |lid dwFl|ags = 0x|
|00005c50| 66 66 66 66 66 66 66 66 | 29 09 09 09 00 00 00 00 |ffffffff|).......|
|00005c60| 43 72 79 70 74 45 78 70 | 6f 72 74 4b 65 79 20 28 |CryptExp|ortKey (|
|00005c70| 69 6e 76 61 6c 69 64 20 | 64 77 42 6c 6f 62 54 79 |invalid |dwBlobTy|
|00005c80| 70 65 20 3d 20 30 78 66 | 66 66 66 66 66 66 66 29 |pe = 0xf|fffffff)|
|00005c90| 09 09 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005ca0| 65 79 20 28 69 6e 76 61 | 6c 69 64 20 68 45 78 4b |ey (inva|lid hExK|
|00005cb0| 65 79 20 3d 20 30 29 09 | 09 09 09 00 43 72 79 70 |ey = 0).|....Cryp|
|00005cc0| 74 45 78 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tExportK|ey (inva|
|00005cd0| 6c 69 64 20 68 45 78 4b | 65 79 20 3d 20 61 6c 72 |lid hExK|ey = alr|
|00005ce0| 65 61 64 79 20 64 65 73 | 74 72 6f 79 65 64 29 09 |eady des|troyed).|
|00005cf0| 09 00 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005d00| 65 79 20 28 69 6e 76 61 | 6c 69 64 20 68 45 78 4b |ey (inva|lid hExK|
|00005d10| 65 79 20 3d 20 30 78 66 | 66 66 66 66 66 66 66 29 |ey = 0xf|fffffff)|
|00005d20| 09 09 09 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005d30| 65 79 20 28 69 6e 76 61 | 6c 69 64 20 68 45 78 4b |ey (inva|lid hExK|
|00005d40| 65 79 20 3d 20 73 65 73 | 73 69 6f 6e 20 6b 65 79 |ey = ses|sion key|
|00005d50| 29 09 09 09 00 00 00 00 | 43 72 79 70 74 45 78 70 |).......|CryptExp|
|00005d60| 6f 72 74 4b 65 79 20 28 | 69 6e 76 61 6c 69 64 20 |ortKey (|invalid |
|00005d70| 68 4b 65 79 20 3d 20 61 | 6c 72 65 61 64 79 20 64 |hKey = a|lready d|
|00005d80| 65 73 74 72 6f 79 65 64 | 29 09 09 00 43 72 79 70 |estroyed|)...Cryp|
|00005d90| 74 45 78 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tExportK|ey (inva|
|00005da0| 6c 69 64 20 68 4b 65 79 | 20 3d 20 30 78 66 66 66 |lid hKey| = 0xfff|
|00005db0| 66 66 66 66 66 29 09 09 | 09 00 00 00 43 72 79 70 |fffff)..|....Cryp|
|00005dc0| 74 45 78 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tExportK|ey (inva|
|00005dd0| 6c 69 64 20 68 4b 65 79 | 20 3d 20 30 29 09 09 09 |lid hKey| = 0)...|
|00005de0| 09 00 00 00 43 72 79 70 | 74 45 78 70 6f 72 74 4b |....Cryp|tExportK|
|00005df0| 65 79 20 28 76 61 6c 69 | 64 20 70 61 72 61 6d 65 |ey (vali|d parame|
|00005e00| 74 65 72 73 2c 20 50 52 | 49 56 41 54 45 4b 45 59 |ters, PR|IVATEKEY|
|00005e10| 42 4c 4f 42 29 09 09 00 | 43 72 79 70 74 45 78 70 |BLOB)...|CryptExp|
|00005e20| 6f 72 74 4b 65 79 20 28 | 76 61 6c 69 64 20 70 61 |ortKey (|valid pa|
|00005e30| 72 61 6d 65 74 65 72 73 | 2c 20 50 55 42 4c 49 43 |rameters|, PUBLIC|
|00005e40| 4b 45 59 42 4c 4f 42 29 | 09 09 00 00 43 72 79 70 |KEYBLOB)|....Cryp|
|00005e50| 74 45 78 70 6f 72 74 4b | 65 79 20 28 76 61 6c 69 |tExportK|ey (vali|
|00005e60| 64 20 70 61 72 61 6d 65 | 74 65 72 73 2c 20 53 49 |d parame|ters, SI|
|00005e70| 4d 50 4c 45 42 4c 4f 42 | 29 09 09 09 00 00 00 00 |MPLEBLOB|).......|
|00005e80| 43 72 79 70 74 47 65 74 | 55 73 65 72 4b 65 79 20 |CryptGet|UserKey |
|00005e90| 28 73 69 67 6e 61 74 75 | 72 65 20 6b 65 79 20 70 |(signatu|re key p|
|00005ea0| 61 69 72 29 09 09 09 09 | 00 00 00 00 2a 2a 2a 2a |air)....|....****|
|00005eb0| 2a 20 54 65 73 74 20 43 | 72 79 70 74 45 78 70 6f |* Test C|ryptExpo|
|00005ec0| 72 74 4b 65 79 20 2a 2a | 2a 2a 2a 0a 00 00 00 00 |rtKey **|***.....|
|00005ed0| 69 6d 70 6f 72 74 20 74 | 65 73 74 00 73 69 67 6e |import t|est.sign|
|00005ee0| 2c 20 65 78 70 6f 72 74 | 2c 20 69 6d 70 6f 72 74 |, export|, import|
|00005ef0| 2c 20 76 65 72 69 66 79 | 09 09 09 09 09 00 00 00 |, verify|........|
|00005f00| 64 65 63 72 79 70 74 65 | 64 20 70 6c 61 69 6e 74 |decrypte|d plaint|
|00005f10| 65 78 74 20 6e 6f 74 20 | 65 71 75 61 6c 20 74 6f |ext not |equal to|
|00005f20| 20 6f 72 69 67 69 6e 61 | 6c 00 00 00 74 65 73 74 | origina|l...test|
|00005f30| 30 31 32 33 34 35 36 37 | 38 39 00 00 65 6e 63 72 |01234567|89..encr|
|00005f40| 79 70 74 2c 20 65 78 70 | 6f 72 74 2c 20 64 65 73 |ypt, exp|ort, des|
|00005f50| 74 72 6f 79 20 6b 65 79 | 2c 20 69 6d 70 6f 72 74 |troy key|, import|
|00005f60| 2c 20 64 65 63 72 79 70 | 74 09 09 09 00 00 00 00 |, decryp|t.......|
|00005f70| 43 72 79 70 74 49 6d 70 | 6f 72 74 4b 65 79 20 28 |CryptImp|ortKey (|
|00005f80| 69 6e 76 61 6c 69 64 20 | 70 68 4b 65 79 20 3d 20 |invalid |phKey = |
|00005f90| 4e 55 4c 4c 29 09 09 09 | 09 00 00 00 43 72 79 70 |NULL)...|....Cryp|
|00005fa0| 74 49 6d 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tImportK|ey (inva|
|00005fb0| 6c 69 64 20 70 68 4b 65 | 79 20 3d 20 30 78 66 66 |lid phKe|y = 0xff|
|00005fc0| 66 66 66 66 66 66 29 09 | 09 09 00 00 43 72 79 70 |ffffff).|....Cryp|
|00005fd0| 74 49 6d 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tImportK|ey (inva|
|00005fe0| 6c 69 64 20 64 77 46 6c | 61 67 73 20 3d 20 30 78 |lid dwFl|ags = 0x|
|00005ff0| 66 66 66 66 66 66 66 66 | 29 09 09 09 00 00 00 00 |ffffffff|).......|
|00006000| 43 72 79 70 74 49 6d 70 | 6f 72 74 4b 65 79 20 28 |CryptImp|ortKey (|
|00006010| 69 6e 76 61 6c 69 64 20 | 70 62 44 61 74 61 20 3d |invalid |pbData =|
|00006020| 20 4e 55 4c 4c 29 09 09 | 09 09 00 00 43 72 79 70 | NULL)..|....Cryp|
|00006030| 74 49 6d 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tImportK|ey (inva|
|00006040| 6c 69 64 20 70 62 44 61 | 74 61 20 3d 20 30 78 66 |lid pbDa|ta = 0xf|
|00006050| 66 66 66 66 66 66 66 29 | 09 09 09 00 43 72 79 70 |fffffff)|....Cryp|
|00006060| 74 49 6d 70 6f 72 74 4b | 65 79 20 28 69 6e 76 61 |tImportK|ey (inva|
|00006070| 6c 69 64 20 68 50 72 6f | 76 20 3d 20 61 6c 72 65 |lid hPro|v = alre|
|00006080| 61 64 79 20 72 65 6c 65 | 61 73 65 64 29 09 09 00 |ady rele|ased)...|
|00006090| 43 72 79 70 74 49 6d 70 | 6f 72 74 4b 65 79 20 28 |CryptImp|ortKey (|
|000060a0| 69 6e 76 61 6c 69 64 20 | 68 50 72 6f 76 20 3d 20 |invalid |hProv = |
|000060b0| 30 78 66 66 66 66 66 66 | 66 66 29 09 09 09 00 00 |0xffffff|ff).....|
|000060c0| 43 72 79 70 74 49 6d 70 | 6f 72 74 4b 65 79 20 28 |CryptImp|ortKey (|
|000060d0| 69 6e 76 61 6c 69 64 20 | 68 50 72 6f 76 20 3d 20 |invalid |hProv = |
|000060e0| 30 29 09 09 09 09 00 00 | 43 72 79 70 74 49 6d 70 |0)......|CryptImp|
|000060f0| 6f 72 74 4b 65 79 20 28 | 76 61 6c 69 64 20 70 61 |ortKey (|valid pa|
|00006100| 72 61 6d 65 74 65 72 73 | 29 09 09 09 09 00 00 00 |rameters|).......|
|00006110| 2a 2a 2a 2a 2a 20 54 65 | 73 74 20 43 72 79 70 74 |***** Te|st Crypt|
|00006120| 49 6d 70 6f 72 74 4b 65 | 79 20 2a 2a 2a 2a 2a 0a |ImportKe|y *****.|
|00006130| 00 00 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |....Cryp|tDestroy|
|00006140| 48 61 73 68 3a 20 69 6e | 76 61 6c 69 64 20 48 61 |Hash: in|valid Ha|
|00006150| 6e 64 6c 65 20 61 6c 72 | 65 61 64 79 20 64 65 73 |ndle alr|eady des|
|00006160| 74 72 6f 79 65 64 09 09 | 00 00 00 00 43 72 79 70 |troyed..|....Cryp|
|00006170| 74 44 65 73 74 72 6f 79 | 48 61 73 68 3a 20 69 6e |tDestroy|Hash: in|
|00006180| 76 61 6c 69 64 20 48 61 | 6e 64 6c 65 20 30 78 66 |valid Ha|ndle 0xf|
|00006190| 66 66 66 66 66 66 66 09 | 09 09 00 00 43 72 79 70 |fffffff.|....Cryp|
|000061a0| 74 44 65 73 74 72 6f 79 | 48 61 73 68 3a 20 69 6e |tDestroy|Hash: in|
|000061b0| 76 61 6c 69 64 20 48 61 | 6e 64 6c 65 20 30 09 09 |valid Ha|ndle 0..|
|000061c0| 09 09 00 00 0a 2a 2a 2a | 2a 2a 20 54 65 73 74 20 |.....***|** Test |
|000061d0| 43 72 79 70 74 44 65 73 | 74 6f 72 79 48 61 73 68 |CryptDes|toryHash|
|000061e0| 20 2a 2a 2a 2a 2a 0a 00 | 43 72 79 70 74 56 65 72 | *****..|CryptVer|
|000061f0| 69 66 79 53 69 67 6e 61 | 74 75 72 65 3a 20 56 65 |ifySigna|ture: Ve|
|00006200| 72 69 66 79 69 6e 67 20 | 69 6e 76 61 6c 69 64 20 |rifying |invalid |
|00006210| 64 65 73 74 72 6f 79 65 | 64 20 68 50 75 62 4b 65 |destroye|d hPubKe|
|00006220| 79 09 00 00 43 72 79 70 | 74 44 65 73 74 72 6f 79 |y...Cryp|tDestroy|
|00006230| 4b 65 79 3a 20 66 6f 72 | 20 50 75 62 6c 69 63 20 |Key: for| Public |
|00006240| 4b 45 59 58 20 4b 65 79 | 09 09 09 09 00 00 00 00 |KEYX Key|........|
|00006250| 43 72 79 70 74 56 65 72 | 69 66 79 53 69 67 6e 61 |CryptVer|ifySigna|
|00006260| 74 75 72 65 3a 20 56 65 | 72 69 66 79 69 6e 67 20 |ture: Ve|rifying |
|00006270| 69 6e 76 61 6c 69 64 20 | 68 50 75 62 4b 65 79 20 |invalid |hPubKey |
|00006280| 30 78 66 66 66 66 66 66 | 66 66 09 00 43 72 79 70 |0xffffff|ff..Cryp|
|00006290| 74 56 65 72 69 66 79 53 | 69 67 6e 61 74 75 72 65 |tVerifyS|ignature|
|000062a0| 3a 20 56 65 72 69 66 79 | 69 6e 67 20 69 6e 76 61 |: Verify|ing inva|
|000062b0| 6c 69 64 20 68 50 75 62 | 4b 65 79 20 3d 20 30 09 |lid hPub|Key = 0.|
|000062c0| 09 00 00 00 43 72 79 70 | 74 56 65 72 69 66 79 53 |....Cryp|tVerifyS|
|000062d0| 69 67 6e 61 74 75 72 65 | 3a 20 56 65 72 69 66 79 |ignature|: Verify|
|000062e0| 69 6e 67 20 69 6e 76 61 | 6c 69 64 20 68 50 75 62 |ing inva|lid hPub|
|000062f0| 4b 65 79 20 3d 20 52 43 | 32 20 6b 65 79 09 00 00 |Key = RC|2 key...|
|00006300| 43 72 79 70 74 56 65 72 | 69 66 79 53 69 67 6e 61 |CryptVer|ifySigna|
|00006310| 74 75 72 65 3a 20 56 65 | 72 69 66 79 69 6e 67 20 |ture: Ve|rifying |
|00006320| 69 6e 76 61 6c 69 64 20 | 53 69 67 6e 61 74 75 72 |invalid |Signatur|
|00006330| 65 20 4c 65 6e 67 74 68 | 20 2d 32 32 09 00 00 00 |e Length| -22....|
|00006340| 43 72 79 70 74 56 65 72 | 69 66 79 53 69 67 6e 61 |CryptVer|ifySigna|
|00006350| 74 75 72 65 3a 20 56 65 | 72 69 66 79 69 6e 67 20 |ture: Ve|rifying |
|00006360| 69 6e 76 61 6c 69 64 20 | 53 69 67 6e 61 74 75 72 |invalid |Signatur|
|00006370| 65 20 4c 65 6e 67 74 68 | 20 30 09 00 43 72 79 70 |e Length| 0..Cryp|
|00006380| 74 56 65 72 69 66 79 53 | 69 67 6e 61 74 75 72 65 |tVerifyS|ignature|
|00006390| 3a 20 56 65 72 69 66 79 | 69 6e 67 20 69 6e 76 61 |: Verify|ing inva|
|000063a0| 6c 69 64 20 53 69 67 6e | 61 74 75 72 65 09 09 00 |lid Sign|ature...|
|000063b0| 43 72 79 70 74 56 65 72 | 69 66 79 53 69 67 6e 61 |CryptVer|ifySigna|
|000063c0| 74 75 72 65 3a 20 56 65 | 72 69 66 79 69 6e 67 20 |ture: Ve|rifying |
|000063d0| 69 6e 76 61 6c 69 64 20 | 53 69 67 6e 61 74 75 72 |invalid |Signatur|
|000063e0| 65 20 4e 55 4c 4c 09 09 | 00 00 00 00 4d 79 20 4e |e NULL..|....My N|
|000063f0| 61 6d 65 20 69 73 00 00 | 43 72 79 70 74 56 65 72 |ame is..|CryptVer|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.