简体   繁体   English

是否有unix crypt(3)函数的OpenCL实现?

[英]Is there an OpenCL implementation of the unix crypt(3) function?

I want to use the unix crypt function in an OpenCL program. 我想在OpenCL程序中使用unix crypt函数。 Does something like that already exist or will I have to translate it on my own? 这样的事情已经存在或者我必须自己翻译吗?

You've probably found an answer by now, but in case anyone else comes here from a search, John The Ripper is open source and has OpenCL acceleration for several hashing algorithms, including the 3DES used in BSD crypt(). 你现在可能已经找到了答案,但是如果其他人从搜索中来到这里,John The Ripper是开源的并且具有用于几种散列算法的OpenCL加速,包括在BSD crypt()中使用的3DES。

https://github.com/magnumripper/JohnTheRipper/tree/bleeding-jumbo/src/opencl https://github.com/magnumripper/JohnTheRipper/tree/bleeding-jumbo/src/opencl

You might be interested in this paper I found on AMD's website: http://developer.amd.com/resources/documentation-articles/articles-whitepapers/bulk-encryption-on-gpus/ 您可能对我在AMD网站上发现的这篇论文感兴趣: http//developer.amd.com/resources/documentation-articles/articles-whitepapers/bulk-encryption-on-gpus/

It covers implementing AES in OpenCL. 它涵盖了在OpenCL中实现AES。 Your goal with the encryption is important. 您加密的目标很重要。 Since you suggested crypt , I am guessing that you're just playing around. 既然你建议加密 ,我猜你只是在玩耍。 But if you want to actually apply the algorithm, it is important to choose the algorithm based on your goals. 但是,如果您想要实际应用算法,请务必根据您的目标选择算法。 There are very important differences private key, public key, and password hashing algorithms. 私钥,公钥和密码哈希算法之间存在非常重要的差异。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM