The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

SYNOPSIS

 $ ecdhes-keygen --base64
 TDZkh2OblpB5f68XFryY7GFpR1YDyF9SFLBpdCxrrFE=
 CBP5t6A9pNczbr5NayeR4qURo12IUtXHy9CwNy/oFkQ=

DESCRIPTION

This tool generates a new random Curve25519 keypair and outputs it in the designated format (the first being the public and the second being the private key). It takes one named option, format that can have the following values.

  • hex

    The new keys will be encoded to hexadecimals, this is the defualt.

  • base64

    The new keys will be encoded to base64.

  • uuencode

    The new keys will be encoded with uuencode.