Method ComputeHash
- Namespace
- RuleWright.Serialization
- Assembly
- RuleWright.Serialization.dll
ComputeHash(Rule)
Computes the rule's content hash.
public static string ComputeHash(Rule rule)
Parameters
ruleRuleThe rule.
Returns
- string
A lowercase-hex SHA-256 of the canonical form.
Exceptions
- ArgumentNullException
ruleis null.