Skip to content

Instantly share code, notes, and snippets.

View marhel's full-sized avatar

Martin Hellspong marhel

  • factor10
  • Helsingborg, Sweden
View GitHub Profile
import java.security._
import java.io._
import javax.security.cert.X509Certificate
import javax.crypto.{CipherInputStream, CipherOutputStream, Cipher}
import scala.Predef
// ---------------------------------
// Generate KeyPair
val rsabits = 2048; // or higher, if you've got the cpu*time

Keybase proof

I hereby claim:

  • I am marhel on github.
  • I am martinhellspong (https://keybase.io/martinhellspong) on keybase.
  • I have a public key whose fingerprint is D17F 8BC6 B628 C488 8083 F0F2 556B 1153 6E2B 0762

To claim this, I am signing this object: