Code example for KeyFactory

Methods: generatePrivate