在 C++ 中执行 WHIRLPOOL 哈希;

发布于 2025-01-07 07:07:19 字数 757 浏览 0 评论 0原文

这听起来是一个相对简单的问题,但我一直无法让 Crypto++ 工作。我正在使用 Microsoft Visual C++ 2010 Express(我很便宜),并且库中包含的 .vcxproj/.vcproj/.sln 文件根本不起作用。文件也很多,但我不确定我到底需要什么。

那么有人知道我可以直接加入的解决方案吗?只要参考实现的效率不是低得离谱或者其他什么的,就可以了。很抱歉提出这样一个平凡的问题,但我环顾四周,找不到我需要的任何东西 - 我想密码学不是我的专业领域。

尽管如此,如果有人知道如何让 VC++ 2010 加载项目文件,那么让 Crypto++ 工作就太好了。该错误非常严重...无法描述。它只是说该项目无法加载,并给我 -2147483647 作为错误号。

编辑:这是转换报告错误:

XML 解析期间发生以下错误:文件:C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj 行:102 列:5 错误消息:系统错误:- 2147154677。文件“C:\Users\Kyle\Desktop\Exoterra\Dependency\crypto\cryptlib.vcproj”加载失败。

这是 cryptlib.vcproj 的第 102 行:

Name="VCPostBuildEventTool"

编辑(再次):我让它工作了。我删除了项目文件中涉及 x64 的所有内容,现在它可以正确转换。不管怎样,谢谢。

This sounds like a relatively simple question, but I haven't been able to get Crypto++ to work. I'm using Microsoft Visual C++ 2010 Express (I'm cheap) and the .vcxproj/.vcproj/.sln files included in the library simply don't work. There are a lot of files, too, and I'm just not sure what exactly I need.

So does anyone know of a solution I could just drop in or something? Reference implementations are fine as long as they're not ridiculously inefficient or something. Sorry for such a mundane question, but I've looked around myself and I couldn't find anything I need - I guess cryptography just isn't my area of expertise.

That being said, though, it would be nice to get Crypto++ to work, if anyone has a clue as to how I might get VC++ 2010 to load the project files. The error is extremely... not descriptive. It just says the project couldn't be loaded and gives me -2147483647 as an error number.

EDIT: Here's the Conversion Report error:

The following error has occurred during XML parsing: File: C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj Line: 102 Column: 5 Error Message: System error: -2147154677. The file 'C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj' has failed to load.

This is line 102 of cryptlib.vcproj:

Name="VCPostBuildEventTool"

EDIT (again): I got it to work. I deleted everything referring to x64 in the project file and now it converted properly. Thanks anyway.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冰雪梦之恋 2025-01-14 07:07:19

不确定你遇到了什么问题。

  1. 下载版本5.6.1
  2. 解压下载的存档;
  3. 双击cryptest.sln
  4. Visual Studio 将打开并询问您是否要转换项目;
  5. 稍后Visual Studio将显示转换后的解决方案;

使用 Express 版本,您希望能够在 Visual Studio 中编译资源文件。您将需要使用 Windows SDK 中的 rc 编译器来编译它们。

Not sure what problem you had.

  1. Download version 5.6.1;
  2. Unzip the downloaded archive;
  3. Double click on cryptest.sln;
  4. Visual Studio will open and ask if you want to convert the project;
  5. Say yes;
  6. After a while Visual Studio will show the converted solution;

With the Express version you want be able to compile the resource files in Visual Studio. You will need to use the rc compiler from the Windows SDK to compile them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文