WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

StringExtensions..::..IsValidShaHashFor Method (String, String, HashMethod)

Validate if the plain-text is valid for the hashing method

Namespace:  System
Assembly:  Walter (in Walter.dll)

Syntax


public static bool IsValidShaHashFor(
	string base64String,
	string plainText,
	HashMethod hashing
)

Parameters

base64String
Type: String
The Base 64 string
plainText
Type: String
The text to compare
hashing
Type: System..::..HashMethod
the hashing method that was used to hash the string

Return Value

True if the hash is valid

Exceptions


ExceptionCondition
ArgumentExceptionIf arguments are not compatible