View Source NervesHubCLI.Crypto (nerves_hub_cli v2.0.1)

Summary

Functions

Link to this function

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

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

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

View Source
@spec encrypt(String.t(), String.t(), String.t()) :: binary() | {:error, String.t()}