diff --git a/Security/Services/GeneratorKey.cs b/Security/Services/GeneratorKey.cs index b71bfab..80a5b8e 100644 --- a/Security/Services/GeneratorKey.cs +++ b/Security/Services/GeneratorKey.cs @@ -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 GenerateBytes(int size) { var key = new byte[size];