Keypairs and Key Agreements
This chapter is about keypairs. In the first section, keypair generation
and keypair encoding and decoding concepts and API are described. The
second section deals with key agreement protocols.
The code is organised into subpackages, each pertaining to a keypair
algorithm. Four such algorithms are covered in this version of the
library. They are:
- dh: Diffie-Hellman. The apparent intractability of this algorithm
forms the basis for the security of many cryptographic schemes.
- dss: Digital Signature Standard.
- rsa: Named after its inventors Ron Rivest, Adi Shamir, and Leonard
Adleman. Its security is based on the intractibility of the integer
factorization problem.
- srp6: As described in Thomas Wu's paper "SRP-6: Improvements and
Refinements to the Secure Remote Password Protocol," dated October 29,
2002. [Wu02]