PetNicknames API Update + removed code used for personal use. Added default json.
This commit is contained in:
@@ -172,12 +172,6 @@ public sealed class RemoteConfigurationService
|
||||
byte[] pub = Convert.FromBase64String(pubKey);
|
||||
return Ed25519.Verify(sig, msg, pub);
|
||||
}
|
||||
|
||||
private static byte[] SignForMe(string message, ulong ts, byte[] privKey)
|
||||
{
|
||||
byte[] msg = [.. BitConverter.GetBytes(ts), .. Encoding.UTF8.GetBytes(message)];
|
||||
return Ed25519.Sign(msg, privKey);
|
||||
}
|
||||
|
||||
private void LoadConfig(JsonObject jsonDoc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user