Lua salt policy object - VanaDev/Vana GitHub Wiki

Table of Contents

Example Salt Policy Object

 policy = {
 	["type"] = system_salt_intersperse,
 	["args"] = { 2, 0 },
 };

Properties

type

Required: Yes

Type: salt policy constant

Notes: Indicates the specific operation that the server will do to the finalized salt when applying it to the plaintext.

args

Required: Yes

Type: table of arguments

Notes: The arguments change depending on the specific salt policy constant chosen for the type. Please consult the documentation for the specific type to learn more. This must be present even in the case where there are no arguments for the specific type. It must be an empty table.

⚠️ **GitHub.com Fallback** ⚠️