Handkit.Profile.get_encryption_keypair
You're seeing just the function
get_encryption_keypair
, go back to Handkit.Profile module for more information.
Specs
get_encryption_keypair(Handkit.Connect.t()) :: {:ok, map()} | {:error, any()}
Returns the encryption keypair for the currently authenticated user.
Examples
iex> Handkit.Profile.get_encryption_keypair(client)
{:ok, %{
"private_key" => "KwEdGZs5R6WNtNGknuG9DYd7NNdPw3CPNV9DZhjxNydYmLdA3hAs",
"public_key" => "0370794c83b3228f808fe589a4f9e5286254e245d59fe2d5b6edd9e4fc128c2b5f"
}}