mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Wire through MD2/MD4
This commit is contained in:
@@ -33,6 +33,20 @@ namespace SabreTools.Core.Tools
|
||||
public static string? NormalizeCRC32(string? hash)
|
||||
=> NormalizeHashData(hash, Constants.CRCLength);
|
||||
|
||||
/// <summary>
|
||||
/// Normalize a MD2 string and pad to the correct size
|
||||
/// </summary>
|
||||
/// <remarks>MD2 is the same length as MD5</remarks>
|
||||
public static string? NormalizeMD2(string? hash)
|
||||
=> NormalizeHashData(hash, Constants.MD5Length);
|
||||
|
||||
/// <summary>
|
||||
/// Normalize a MD4 string and pad to the correct size
|
||||
/// </summary>
|
||||
/// <remarks>MD4 is the same length as MD5</remarks>
|
||||
public static string? NormalizeMD4(string? hash)
|
||||
=> NormalizeHashData(hash, Constants.MD5Length);
|
||||
|
||||
/// <summary>
|
||||
/// Normalize a MD5 string and pad to the correct size
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user