Skip to content

stanley101music/Libgcrypt-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Libgcrypt in C/C++ on Windows

Download

Include Libgcrypt libraries in Visual Studio

Project configure

  • [專案] -> [屬性] -> [C/C++] -> [一般] -> [其他Include目錄] -> [Add "include" folder which is inside the donwloaded pre-built libgcrypt]

  • [專案] -> [屬性] -> [連結器] -> [一般] -> [其他程式庫目錄] -> [Add path to folder that contains the library according to dynamic/static and Win32/x64]

Dynamically Link

  • [專案] -> [屬性] -> [連結器] -> [輸入] -> [其他相依性] -> [Add gcrypt.lib]

  • Copy gcrypt.dll from pre-built libgcrypt to the project folder

Statically Link

  • [專案] -> [屬性] -> [連結器] -> [輸入] -> [其他相依性] -> [Add libgcrypt.lib]

  • [專案] -> [屬性] -> [C/C++] -> [程式碼產生] -> [執行階段程式庫] -> [/MDd]
  • The output executable file is still standalone (Can be runned on other Windows PC)

Headers

#include <gcrypt.h>
#include <gpg-error.h>

Example

I've included some common cryptography algorithm examples using libgcrypt libraries' high level API. Check out symmetric block cipher template to write your own symmetric cryptography program with minor modification.

Credits

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages