using System.Security.Cryptography;
using System.Text;

namespace KArtSell.BuildingBlocks.Hashing;

public static class ContentHasher
{
    public static string Sha256(string value)
        => Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(value))).ToLowerInvariant();
}
