Skip to content

Instantly share code, notes, and snippets.

View fernandofig's full-sized avatar

Fernando Figueiredo fernandofig

  • Campinas, Brazil
View GitHub Profile
@fernandofig
fernandofig / SHA1Util.cs
Last active April 3, 2019 17:42 — forked from jchandra74/SHA1Util.cs
SHA1 Hash for Unicode string
//Forked from kristopherjohnson/SHA1Util.cs gist
using System.Security.Cryptography;
using System.Text;
namespace Snippets
{
public static class SHA1Util
{
/// <summary>
/// Compute hash for string encoded as UTF8, return as base64 encoded string