mattosaurus / PgpCore

.NET Core class library for using PGP
MIT License
245 stars 98 forks source link

What is the default hashing algorithm used? #163

Closed reko91 closed 1 year ago

reko91 commented 2 years ago

I developed a tool that used your library a while back, and I remember being able to set the hashing algorithm used. I can't seem to find documentation for this or what the default algorithm is, hopefully, you can help.

mattosaurus commented 2 years ago

Yeah, I've been thinking I should better document some of the options.

The default is Sha1

https://github.com/mattosaurus/PgpCore/blob/785aaba39d70df514388f5708b92ee91307ea307/PgpCore/PGP.cs#L54

gmanbadboy commented 2 years ago

thanks