Added bcBenerateKeypair definition