Skip to content

Commit

Permalink
Add pre generated xkey test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Feb 7, 2025
1 parent 65d2dfa commit b5c2ca9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NATS.NKeys.Tests/NKeysTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ public void Public_key_from_seed()

kp = KeyPair.FromSeed("SUAGDLNBWI2SGHDRYBHD63NH5FGZSVJUW2J7GAJZXWANQFLDW6G5SXZESU".ToCharArray());
Assert.Equal("UBICBTHDKQRB4LIYA6BMIJ7EA2G7YS7FIWMMVKZJE6M3HS5IVCOLKDY2", kp.GetPublicKey());

kp = KeyPair.FromSeed("SXANLPW5OPP62ISXMPTH26DBYM4BGT3U6P2FEALGW3BZAVXQRWCX3KH2ZM".ToCharArray());
Assert.Equal("XBIGHMCJSHWYFW6ZY4WWONQ3FRIS5A3OQAUMPPKYBNKRYQTVX4PEAIZA", kp.GetPublicKey());
}

[Fact]
Expand Down

0 comments on commit b5c2ca9

Please sign in to comment.