Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Added |../../index.htm#lansa/l4wtgu10_0065.htm]
現在地:

Anchor
_Toc130908542
_Toc130908542
11.2.1 Compute メソッド

...

  • #PasswordString にハッシュするパスワードが含まれていることが前提
  • パスワード文字列 (#PasswordString) をバイトに変換
    #PasswordBytes.FromStringUsingUTF8 String(#PasswordString)
  • 5000 反復を使ってアルゴリスムを PBKDF2 に設定
    #HashGenerator.UsePBKDF2 Iteration(5000)
  • ハッシュの計算
    #HashGenerator.Compute Input(#PasswordBytes) Result(#HashBytes)
  • ハッシュ値を Base64 文字列として取得し、#HASH フィールドに入れる
    #HASH := #HashBytes.AsBase64String
     
     
    [ Image Added |../../index.htm#lansa/l4wtgu10_0065.htm]