multipass_ex v0.1.0 MultipassEx View Source

Mimicking ruby multipass default encryption of aes_cbc128

Link to this section Summary

Functions

Decodes a given multipass into a map with a given site_key and api_key

Encodes a map into a multipass with a given site_key and api_key

Link to this section Functions

Link to this function decode!(data, site_key, api_key) View Source
decode!(String.t(), String.t(), String.t()) :: map()

Decodes a given multipass into a map with a given site_key and api_key

Link to this function encode!(data, site_key, api_key) View Source
encode!(String.t(), String.t(), String.t()) :: String.t()

Encodes a map into a multipass with a given site_key and api_key