![]() |
|
|
#1 |
|
Banned
"Luigi"
Aug 2002
Team Italia
114018 Posts |
Did anybody out there tried to write (fast and/or parallel) routines for cryptography on CUDA?
(I mean like cyphering/decyphering with AES on the fly). I would be pleased to look at benchmarks. Or hints on how to proceed... ![]() Luigi Last fiddled with by ET_ on 2010-09-08 at 18:18 |
|
|
|
|
|
#2 |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·17·347 Posts |
|
|
|
|
|
|
#3 |
|
Oct 2007
10610 Posts |
|
|
|
|
|
|
#4 |
|
Tribal Bullet
Oct 2004
5×23×31 Posts |
There are several Master's theses available in the last two years that go into the implementation details needed to make crypto primitives like AES and RSA fast on a graphics card, specifically using CUDA. They all find the same thing:
- it's possible but difficult - you get great speed if you can do 10000 parallel operations at once Modifying real-world application that need security to generate 10000 parallel operations at once is the most difficult problem in all this. |
|
|
|
|
|
#5 |
|
Banned
"Luigi"
Aug 2002
Team Italia
114018 Posts |
Thank you Robert, Jason, Paul...
|
|
|
|
|
|
#6 | |
|
Oct 2007
10610 Posts |
Quote:
|
|
|
|
|
|
|
#7 |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2×17×347 Posts |
My cryptic response was intended to hint at two things. The first is that it is very simple to use a search engine to find an extensive literature on the use of CUDA in crypto. The second, somewhat more subtle perhaps, was that I've implemented some crypto functions myself in CUDA.
GPUs can be wonderful for highly multithreadable low-memory algorithms. Key searching and the creation of Hellmann and rainbow tables are examples of such. Paul |
|
|
|
|
|
#8 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
130116 Posts |
Quote:
![]() Your answer (and Robert's) made me search for more detailed information; now I have some interesting texts to study. Your last paragraph is even more interesting, as you gave me hints on where to search for. And, yes, I was almost certain that you played with it, from some interesting notes on your previous messages on other threads... Luigi |
|
|
|
|
|
|
#9 |
|
"Carlos Pinho"
Oct 2011
Milton Keynes, UK
143216 Posts |
What's the importance of Rainbow Tables for the math community?
|
|
|
|
|
|
#10 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
114018 Posts |
Quote:
2 - You may use them to deepen your knowledge on parallel string searching and pattern matching. 3 - You may develop your crypto algorithm using a knowledge-base of the most used patterns instead of calculating it. Luigi |
|
|
|
|
|
|
#11 |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2×17×347 Posts |
They are useful anywhere a time-memory trade-off is useful. That is, searching a relatively small fixed space in which successive values may be computed easily from existing values. Then the fixed space need only be searched once (in the ideal case anyway) and re-used many times afterwards.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ..New algorithm shakes up cryptography"? | jwaltos | Operation Kibibit | 5 | 2016-01-30 09:33 |
| CUDA 5.5 | ET_ | GPU Computing | 2 | 2013-06-13 15:50 |
| Metrosexual/Bi-Curious Cryptography article | ewmayer | Math | 4 | 2012-09-09 06:43 |
| GIMPS and cryptography | Rodrigo | Lounge | 4 | 2012-07-31 16:03 |
| Distributed Internet Cryptography | ewmayer | Math | 1 | 2006-08-21 20:53 |