Question

I want to use the unix crypt function in an OpenCL program. Does something like that already exist or will I have to translate it on my own?

Was it helpful?

Solution

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().

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

OTHER TIPS

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/

It covers implementing AES in OpenCL. 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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top