Module linkspace::key

source ·
Expand description

cryptographic key functions for use in lk_keypoint

Functions

  • linkspace stored identity open (or generate) the key name which is also accessible as [@:name:local]. empty name defaults to ( i.e. [@:me:local] ) *
  • decrypt the result of lk_key_encrypt
  • Encrypt the private key into a storable/share-able string - sometimes called an enckey Uses argon2d (using the public key as salt). An empty password sets the difficulty to trivial. *
  • read the public key portion of a lk_key_encrypt string
  • generate a new key