summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-04 16:19:42 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-09-04 16:19:42 +0200
commitd0259cff3ccbab96732097a8a2c339e0e75f0123 (patch)
treeee7a09f9254ed598c8ccf3524205665653208c4b
parent98f813a8e4005e97d523e76496d9e5bc7771eac5 (diff)
Bump size, add some results
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7fd05ad..7a3454a 100644
--- a/main.go
+++ b/main.go
@@ -1,9 +1,13 @@
// Linear search factorization
package main
-//go:generate openssl genrsa -out test.key 48
+//go:generate openssl genrsa -out test.key 64
//go:generate openssl rsa -in test.key -noout -text
+// 64 bit ~ 17 min
+// 48 bit ~ 12 sec
+// 32 bit ~ .2 sec
+
import (
"crypto/rsa"
"crypto/x509"