home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / crypto / enumalgs / readme.txt < prev   
Text File  |  1996-01-18  |  1KB  |  26 lines

  1. Enumerate Algorithms
  2.  
  3.  
  4. The ENUMALGS sample is a console application that lists the algorithms
  5. supported by the default PROV_RSA_FULL provider. By default, this will
  6. be the Microsoft RSA Base Provider, which is included along with the
  7. operating system.
  8.  
  9. Note that the INITUSER sample (or equivalent) must be run prior to running
  10. these samples, in order to create a key container for the default user.
  11.  
  12. In addition to listing the name of each supported algorithm, this sample
  13. also lists:
  14.  
  15.   - The type of algorithm (encryption, hash, key exchange, or signature).
  16.  
  17.   - The key length used by the algorithm (or number of bits in the
  18.     hash value for hash algorithms).
  19.  
  20.   - The algorithm identifier for the algorithm. This value can be passed
  21.     to the appropriate CryptoAPI function in order to create a key or
  22.     hash object that makes use of the particular algorithm.
  23.  
  24. The guts of this sample can be used by applications that want to display
  25. a list of available applications to the user.
  26.