Skip to content

Commit

Permalink
Add DeobUtils.sha1Sum()
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Dec 13, 2012
1 parent cf6af49 commit 1dd572f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions de4dot.code/deobfuscators/DeobUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public static byte[] md5Sum(byte[] data) {
return MD5.Create().ComputeHash(data);
}

public static byte[] sha1Sum(byte[] data) {
return SHA1.Create().ComputeHash(data);
}

public static byte[] sha256Sum(byte[] data) {
return SHA256.Create().ComputeHash(data);
}
Expand Down

0 comments on commit 1dd572f

Please sign in to comment.