Skip to content

Releases: ektrah/nsec

20.2.0

01 Mar 15:09
Compare
Choose a tag to compare

New release! 🎉

See Installation for installation details and supported platforms.

20.1.0-preview2

26 Jan 16:44
Compare
Choose a tag to compare
20.1.0-preview2 Pre-release
Pre-release

API Changes

  • GetExportBlobSize and TryExport methods have been added to the Key and PublicKey classes

Compatibility

NSec now supports Alpine Linux (x64).

This pre-release supports .NET Core 3.1, 3.0, and 2.1.

19.12.0-preview1

31 Dec 16:01
Compare
Choose a tag to compare
19.12.0-preview1 Pre-release
Pre-release

API Changes

  • The API has been fully annotated with C# 8.0 "nullable" annotations
  • Key.PublicKey has been changed from returning null to throwing an InvalidOperationException if the Key is not an asymmetric key
  • Key.HasPublicKey has been added for checking whether a Key is an asymmetric key
  • PublicKey.Equals has been changed from throwing a NullReferenceException to returning false if other is null

Compatibility

This pre-release supports .NET Core 3.1, 3.0, and 2.1.

19.5.0

19 May 11:57
Compare
Choose a tag to compare

New release! 🎉

See Installation for installation details and supported platforms.

19.4.0-preview2

19 May 11:56
Compare
Choose a tag to compare
19.4.0-preview2 Pre-release
Pre-release

Strong Naming

The assembly is now strong-named.

Compatibility

This pre-release supports .NET Core 2.2 and 2.1.

19.1.0-preview1

28 Dec 14:56
Compare
Choose a tag to compare
19.1.0-preview1 Pre-release
Pre-release

New Features

  • Incremental hashing and MACing
  • Algorithms
    • Hash: SHA-512-256
    • MAC: HMAC-SHA256-128, HMAC-SHA512-256

(I.e., truncated SHA-512, HMAC-SHA256, and HMAC-SHA512. These are not to be confused with SHA-512/256, HMAC-SHA256/128, and HMAC-SHA512/256, respectively, which not only truncate but additionally also use a different initial hash value.)

Compatibility

This pre-release supports .NET Core 2.2, 2.1, and 1.1.

18.6.0

12 Jun 14:19
Compare
Choose a tag to compare

First release! 🎉

See Installation for installation details and supported platforms.

18.5.0-preview3

08 May 15:55
Compare
Choose a tag to compare
18.5.0-preview3 Pre-release
Pre-release

API Changes

  • AeadAlgorithm.TryDecrypt has been renamed to Decrypt
  • HashAlgorithm/MacAlgorithm/SignatureAlgorithm.TryVerify has been renamed to Verify
  • KeyAgreementAlgorithm.TryAgree has been removed
  • SharedSecretCreationParameters have been added

Compatibility

This pre-release requires .NET Core 2.1 RC1.

18.4.0-preview2

12 Apr 15:09
Compare
Choose a tag to compare
18.4.0-preview2 Pre-release
Pre-release

API Changes

  • Static properties have been added get predefined algorithm instances
  • Key creating methods now optionally accept KeyCreationParameters
  • The HashAlgorithm output size is now a constructor parameter
  • The MacAlgorithm key size and output size are now constructor parameters

Compatibility

This pre-release requires .NET Core 2.1 Preview 2.

18.2.0-preview1

28 Feb 10:21
Compare
Choose a tag to compare
18.2.0-preview1 Pre-release
Pre-release

New Features

  • Algorithms
    • AEAD: AES256-GCM, ChaCha20-Poly1305
    • Hash: BLAKE2b, SHA-256, SHA-512
    • Key agreement: X25519
    • Key derivation: HKDF-SHA256, HKDF-SHA512
    • MAC: BLAKE2b, HMAC-SHA256, HMAC-SHA512
    • Signing: Ed25519
  • Keys
  • Nonces
  • Shared secrets
  • Random number generation

Compatibility

This pre-release requires .NET Core 2.1 Preview 1.