CapyKit/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md
2024-04-22 21:27:51 -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.0

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