Skip to content

Commit

Permalink
Fixed method names
Browse files Browse the repository at this point in the history
thx to mmikeww
  • Loading branch information
jNizM committed Jun 24, 2020
1 parent 0e886c1 commit bfa65a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/HashCalc.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ class bcrypt
this.BCryptHashData(HASH_HANDLE, STRING, encoding)
HASH_LENGTH := this.BCryptFinishHash(HASH_HANDLE, HASH_LENGTH, HASH_DATA)
hash := this.CalcHash(HASH_DATA, HASH_LENGTH)
this.DestroyHash(HASH_HANDLE)
this.CloseAlgorithmProvider(ALG_HANDLE)
this.BCryptDestroyHash(HASH_HANDLE)
this.BCryptCloseAlgorithmProvider(ALG_HANDLE)
return hash
}

Expand All @@ -298,8 +298,8 @@ class bcrypt
this.BCryptHashData(HASH_HANDLE, STRING, encoding)
HASH_LENGTH := this.BCryptFinishHash(HASH_HANDLE, HASH_LENGTH, HASH_DATA)
hash := this.CalcHash(HASH_DATA, HASH_LENGTH)
this.DestroyHash(HASH_HANDLE)
this.CloseAlgorithmProvider(ALG_HANDLE)
this.BCryptDestroyHash(HASH_HANDLE)
this.BCryptCloseAlgorithmProvider(ALG_HANDLE)
return hash
}

Expand Down Expand Up @@ -327,8 +327,8 @@ class bcrypt
f.Close()
HASH_LENGTH := this.BCryptFinishHash(HASH_HANDLE, HASH_LENGTH, HASH_DATA)
hash := this.CalcHash(HASH_DATA, HASH_LENGTH)
this.DestroyHash(HASH_HANDLE)
this.CloseAlgorithmProvider(ALG_HANDLE)
this.BCryptDestroyHash(HASH_HANDLE)
this.BCryptCloseAlgorithmProvider(ALG_HANDLE)
return hash
}

Expand Down

0 comments on commit bfa65a4

Please sign in to comment.