11 lines
216 B
C#
11 lines
216 B
C#
using System;
|
|
|
|
namespace CheckHash.Services;
|
|
|
|
public static class HashTypeExtensions
|
|
{
|
|
public static bool IsInsecure(this HashType type)
|
|
{
|
|
return type == HashType.MD5 || type == HashType.SHA1;
|
|
}
|
|
} |