-
Notifications
You must be signed in to change notification settings - Fork 3
/
FowlerNollVo1024.cs
21 lines (20 loc) · 1.29 KB
/
FowlerNollVo1024.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Numerics;
namespace Cuemon.Security
{
/// <summary>
/// Provides an implementation of the FVN (Fowler–Noll–Vo) non-cryptographic hashing algorithm for 1024-bit hash values. This class cannot be inherited.
/// Implements the <see cref="FowlerNollVoHash" />
/// </summary>
/// <seealso cref="FowlerNollVoHash" />
public sealed class FowlerNollVo1024 : FowlerNollVoHash
{
/// <summary>
/// Initializes a new instance of the <see cref="FowlerNollVo1024"/> class.
/// </summary>
/// <param name="setup">The <see cref="FowlerNollVoOptions" /> which may be configured.</param>
public FowlerNollVo1024(Action<FowlerNollVoOptions> setup = null) : base(1024, BigInteger.Parse("5016456510113118655434598811035278955030765345404790744303017523831112055108147451509157692220295382716162651878526895249385292291816524375083746691371804094271873160484737966720260389217684476157468082573"), BigInteger.Parse("14197795064947621068722070641403218320880622795441933960878474914617582723252296732303717722150864096521202355549365628174669108571814760471015076148029755969804077320157692458563003215304957150157403644460363550505412711285966361610267868082893823963790439336411086884584107735010676915"), setup)
{
}
}
}