Module identity

Source
Expand description

cryptographic key functions for use in lk_keypoint

Modules§

argon2_identity

Structs§

Costs

Constants§

DEFAULT_COST
INSECURE_COST
PARANOID_COST

Functions§

lki_adhoc
Seed randomness to generate an adhoc ID usable without syncing.
lki_decrypt
decrypt the result of lki_encrypt
lki_encrypt
Encrypt an identity using argon2d with the public key as the salt in URL_SAFE base64 (replaces “+/” with “-_”) Empty passwords are always encrypted with the cheapest preset
lki_encrypt_paranoid
NOTE: password length & complexity determines your security
lki_generate
generate a new key
lki_pubkey
read the public key portion of a lki_encrypt string