/* * This file is part of Socialvoid.NET Project (https://github.com/Intellivoid/Socialvoid.NET). * Copyright (c) 2021 Socialvoid.NET Authors. * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this source code of library. * If not, see . */ /* * Credits to Devin Martin and the original OtpSharp library: * https://github.com/kspearrin/Otp.NET */ namespace Socialvoid.Security.Otp { /// /// Indicates which HMAC hashing algorithm should be used. /// since: v0.0.0 /// public enum OtpHashMode { //------------------------------------------------- #region SHA region /// /// Sha1 is used as the HMAC hashing algorithm. /// since: v0.0.0 /// Sha1, /// /// Sha256 is used as the HMAC hashing algorithm. /// since: v0.0.0 /// Sha256, /// /// Sha512 is used as the HMAC hashing algorithm. /// since: v0.0.0 /// Sha512, #endregion //------------------------------------------------- } }