aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index fd80d649..29531978 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -264,13 +264,13 @@ namespace slskd
if (GenerateCertificate)
{
- GenerateX509Certificate(password: Cryptography.Random.GetBytes(16).ToBase62String(), filename: $"{AppName}.pfx");
+ GenerateX509Certificate(password: Cryptography.Random.GetBytes(16).ToBase62(), filename: $"{AppName}.pfx");
return;
}
if (GenerateApiKey)
{
- Log.Information($"API Key: {Cryptography.Random.GetBytes(32).ToBase62String()}");
+ Log.Information($"API Key: {Cryptography.Random.GetBytes(32).ToBase62()}");
return;
}