A elliptic curve for use in ECC.
Due to LibTomCrypt’s limitations and implementation, we will only use the 8 recommended curves as provided by LibTomCrypt.
Passing a bit size to the constructor will yield the smallest curve of at least the given size.
An ECC key.
prng – The PRNG to use to generate the key; defaults to “sprng”.
Return a dict of all of the key parts encoded into strings.
Build the string representation of a key.
True if this is a private key.
True if this is a public key.
A view of this key with only the public part.
If this is already a public key, this will be the same object.
‘private’ or ‘public’