NervesHubCLI.Crypto (nerves_hub_cli v0.11.1) View Source

Link to this section Summary

Link to this section Functions

Link to this function

decrypt(cipher_text, password, tag \\ "")

View Source

Specs

decrypt(binary(), any(), binary()) :: {:ok, binary()} | {:error, String.t()}
Link to this function

encrypt(plain_text, password, tag \\ "")

View Source

Specs

encrypt(String.t(), String.t(), String.t()) :: binary() | {:error, String.t()}