System.Hash.THashBobJenkins.GetHashValue

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function GetHashValue(const AData: string): Integer; overload; static; inline;
class function GetHashValue(const AData; ALength: Integer; AInitialValue: Integer = 0): Integer; overload; static; inline;

C++

static int __fastcall GetHashValue(const System::UnicodeString AData)/* overload */;
static int __fastcall GetHashValue(const void *AData, int ALength, int AInitialValue = 0x0)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Hash.pas
System.Hash.hpp
System.Hash THashBobJenkins


説明

渡されたデータからハッシュ ダイジェストを作成し、作成したダイジェストの値を整数として返します。

AData パラメータは以下のように指定することができます。

  • 文字列として。
  • その他の型として。ただし、渡すデータの長さも指定する必要があります。この場合、任意パラメータ AInitialValue を指定することができます。AInitialValue のデフォルト値は 0 です。

関連項目