KeyPair.symmetric constructor

KeyPair.symmetric(
  1. SymmetricKey key
)

Creates a KeyPair from a symmetric key

Implementation

KeyPair.symmetric(SymmetricKey key) : this(privateKey: key, publicKey: key);