Skip to content
Pre-release
Pre-release

@ektrah ektrah released this Nov 14, 2020 · 12 commits to master since this release

API Changes

  • The AeadAlgorithm class has been changed to accept nonces simply as ReadOnlySpan<byte>
  • The Nonce struct has been deprecated and will be removed in a future version
  • The RandomGenerator class has been deprecated and will be removed in a future version

Compatibility

This pre-release supports .NET 5.0 as well as .NET Core 3.1 and 2.1.

Assets 4

@ektrah ektrah released this Mar 1, 2020 · 53 commits to master since this release

New release! 🎉

See Installation for installation details and supported platforms.

Assets 3
Pre-release
Pre-release

@ektrah ektrah released this Jan 26, 2020 · 70 commits to master since this 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.

Assets 4
Pre-release
Pre-release

@ektrah ektrah released this Dec 31, 2019 · 93 commits to master since this 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.

Assets 4

@ektrah ektrah released this May 19, 2019 · 134 commits to master since this release

New release! 🎉

See Installation for installation details and supported platforms.

Assets 3
Pre-release
Pre-release

@ektrah ektrah released this May 19, 2019 · 149 commits to master since this release

Strong Naming

The assembly is now strong-named.

Compatibility

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

Assets 4
Pre-release
Pre-release

@ektrah ektrah released this Dec 28, 2019 · 161 commits to master since this 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.

Assets 4

@ektrah ektrah released this Jun 12, 2018 · 220 commits to master since this release

First release! 🎉

See Installation for installation details and supported platforms.

Assets 3
Pre-release
Pre-release

@ektrah ektrah released this May 8, 2018 · 226 commits to master since this 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.

Assets 3
Pre-release
Pre-release

@ektrah ektrah released this Apr 12, 2018 · 276 commits to master since this 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.

Assets 3