File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ public void X85()
12
12
for ( int i = 0 ; i < 1000 ; i ++ )
13
13
{
14
14
var key = new NetMQCertificate ( ) ;
15
- var copy = new NetMQCertificate ( key . SecretKeyX85 , key . PublicKeyX85 ) ;
15
+ var copy = new NetMQCertificate ( key . SecretKeyZ85 , key . PublicKeyZ85 ) ;
16
16
17
- Assert . Equal ( key . SecretKeyX85 , copy . SecretKeyX85 ) ;
18
- Assert . Equal ( key . PublicKeyX85 , copy . PublicKeyX85 ) ;
17
+ Assert . Equal ( key . SecretKeyZ85 , copy . SecretKeyZ85 ) ;
18
+ Assert . Equal ( key . PublicKeyZ85 , copy . PublicKeyZ85 ) ;
19
19
20
20
Assert . Equal ( key . SecretKey , copy . SecretKey ) ;
21
21
Assert . Equal ( key . PublicKey , copy . PublicKey ) ;
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ public static NetMQCertificate FromPublicKey(string publicKey)
247
247
/// <summary>
248
248
/// Curve Public key
249
249
/// </summary>
250
- public string SecretKeyX85 => SecretKey != null ? Z85Encode ( SecretKey ) : null ;
250
+ public string SecretKeyZ85 => SecretKey != null ? Z85Encode ( SecretKey ) : null ;
251
251
252
252
253
253
/// <summary>
@@ -263,7 +263,7 @@ public static NetMQCertificate FromPublicKey(string publicKey)
263
263
/// <summary>
264
264
/// Curve Public key
265
265
/// </summary>
266
- public string PublicKeyX85
266
+ public string PublicKeyZ85
267
267
{
268
268
get => Z85Encode ( PublicKey ) ;
269
269
}
You can’t perform that action at this time.
0 commit comments