0

I am wanting to generate a new keypair for use with Ngit (Jgit).

How do I generate a new keypair through code?

Doug
  • 6,460
  • 5
  • 59
  • 83

1 Answers1

0

JGit has JSch as dep, take a look at this example http://www.jcraft.com/jsch/examples/KeyGen.java.html