mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-12 19:23:36 -06:00
1.2 KiB
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.