hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

README (858B)


      1 The crypto::x25519 module provides functions to generate key pairs and to
      2 derive shared keys between them, based on curve25519.
      3 
      4 A key pair is created by generating a private key with [[newkey]] and deriving
      5 the public key with [[pubkey]]. A shared key can be found by using [[derive]].
      6 
      7 Do not use the same secret key for both key exchanges and signatures. The public
      8 keys are different and revealing both may leak information.
      9 
     10 This is a low-level module which implements cryptographic primitives. Direct use
     11 of cryptographic primitives is not recommended for non-experts, as incorrect use
     12 of these primitives can easily lead to the introduction of security
     13 vulnerabilities. Non-experts are advised to use the high-level operations
     14 available in the top-level [[crypto::]] module.
     15 
     16 Be advised that Hare's cryptography implementations have not been audited.