feat: add generator base32 for totp
This commit is contained in:
parent
5437623a20
commit
182235c4cd
@ -25,6 +25,10 @@ public static class GeneratorKey
|
||||
.ToArray());
|
||||
}
|
||||
|
||||
public static string GenerateAlphaNumericBase32Compatible(int size, string? excludes = null,
|
||||
string? includes = null) =>
|
||||
GenerateAlphaNumeric(size, excludes + "0189", includes);
|
||||
|
||||
public static ReadOnlySpan<byte> GenerateBytes(int size)
|
||||
{
|
||||
var key = new byte[size];
|
||||
|
Loading…
x
Reference in New Issue
Block a user