CapyKit/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md
2024-09-04 19:31:43 -05:00

1.2 KiB

CalculateHash Method

Calculates the hash of a given string using an MD5 value as the first 32 bits.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

public static int CalculateHash(
	string str
)

F#

static member CalculateHash : 
        str : string -> int 

Parameters

  String
The string to be hashed.

Return Value

Int32
The calculated hash.

Remarks

This method is used for a quick and consistent hash function. It should not be considered cryptographically sound or used in security contexts.

See Also

Reference

CalculationHelper Class
CapyKit.Helpers Namespace