#include <ShftConjKeyGeneration.h>
Public Member Functions | |
| ShftConjKeyInstance (int braid_rank, Word publicKeyA, Word privateKey) | |
| Create an instance of the protocol. | |
| int | getBraidRank () const |
| (accessor function) get the rank of the braid group | |
| Word | getPrivateKey () const |
| (accessor function) get the private key | |
| pair< Word, Word > | getPublicKey () const |
| (accessor function) get the public key | |
Static Public Member Functions | |
| static ShftConjKeyInstance | random (int braid_rank, int baseLenth, int keyLength) |
| Generate a random instance of the protocol. | |
Private Attributes | |
| int | theRank |
| the rank of the braid group | |
| pair< Word, Word > | thePublicKey |
the public key of the first party | |
| Word | thePrivateKey |
the private key of the second party (denoted by ) | |
Definition at line 23 of file ShftConjKeyGeneration.h.
|
||||||||||||||||
|
Create an instance of the protocol.
|
|
|
(accessor function) get the rank of the braid group
Definition at line 55 of file ShftConjKeyGeneration.h. References theRank. |
|
|
(accessor function) get the private key
Definition at line 57 of file ShftConjKeyGeneration.h. References thePrivateKey. |
|
|
(accessor function) get the public key
Definition at line 59 of file ShftConjKeyGeneration.h. References thePublicKey. |
|
||||||||||||||||
|
Generate a random instance of the protocol.
|
|
|
the private key of the second party (denoted by
Definition at line 77 of file ShftConjKeyGeneration.h. Referenced by getPrivateKey(). |
|
|
the public key of the first party
Definition at line 74 of file ShftConjKeyGeneration.h. Referenced by getPublicKey(). |
|
|
the rank of the braid group
Definition at line 71 of file ShftConjKeyGeneration.h. Referenced by getBraidRank(). |
1.4.6