e-CryptIt Engine Xojo Plugin |

# KeyPair.Constructor Constructor (console safe)

Constructor to recreate key pair from public and private key.

Constructor(
publicKey as String,
privateKey as String)

#### Parameters

publicKey
  The public key (32 character long)
privateKey
  The private key (64 character long)

#### Remarks

You create new key pairs by using the empty constructor or the constructor which takes in seed as parameter.

This constructor can throw InvalidArgumentException if the keys are of incorrect size.

#### See Also

KeyPair Class