⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 look_pk.cpp

📁 含有多种公开密钥算法、多种块加密、多种数据流加密、多种HASH函数、多种CheckSum校验、多种MAC校验等几十种加密算法的程序
💻 CPP
字号:
/************************************************** PK Algorithm Lookup Source File                ** (C) 1999-2002 The Botan Project                **************************************************/#include <botan/look_pk.h>#include <botan/lookup.h>namespace Botan {/************************************************** Get a PK_Encryptor object                      **************************************************/PK_Encryptor* get_pk_encryptor(const PK_Encrypting_Key& key,                               const std::string& eme)   {   return new PK_Encryptor(key, eme);   }/************************************************** Get a PK_Decryptor object                      **************************************************/PK_Decryptor* get_pk_decryptor(const PK_Decrypting_Key& key,                               const std::string& eme)   {   return new PK_Decryptor(key, eme);   }/************************************************** Get a PK_Signer object                         **************************************************/PK_Signer* get_pk_signer(const PK_Signing_Key& key,                         const std::string& encoding)   {   return new PK_Signer(key, encoding);   }/************************************************** Get a PK_Verifier object                       **************************************************/PK_Verifier* get_pk_verifier(const PK_Verifying_with_MR_Key& key,                             const std::string& encoding)   {   return new PK_Verifier_with_MR(key, encoding);   }/************************************************** Get a PK_Verifier object                       **************************************************/PK_Verifier* get_pk_verifier(const PK_Verifying_wo_MR_Key& key,                             const std::string& encoding)   {   return new PK_Verifier_wo_MR(key, encoding);   }/************************************************** Get a PK_Key_Agreement_Scheme object           **************************************************/PK_Key_Agreement_Scheme* get_pk_kas(const PK_Key_Agreement_Key& key,                                    const std::string& kdf)   {   return new PK_Key_Agreement_Scheme(key, kdf);   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -