Table of Contents

Method ComputeHash

Namespace
RuleWright.Serialization
Assembly
RuleWright.Serialization.dll

ComputeHash(Rule)

Computes the rule's content hash.

public static string ComputeHash(Rule rule)

Parameters

rule Rule

The rule.

Returns

string

A lowercase-hex SHA-256 of the canonical form.

Exceptions

ArgumentNullException

rule is null.