Skip to content

1.0.15.0 Release

Compare
Choose a tag to compare
@charlesportwoodii charlesportwoodii released this 03 Oct 15:44
· 15 commits to master since this release
1.0.15.0

1.0.15.0 Release

libsodium-uwp is a Universal Windows Runtime Component that exposes the libsodium library to both desktop and mobile universal windows applications.

What's New?

  • Bumps libsodium dependency to 1.0.15.

  • Fixes a bug with PasswordHash.DetermineAlgorithm where Argon2id hashes would be returned as Argon2i instead.

  • Adds support for PasswordHash.NeedsRehash

    public static bool Sodium.PasswordHash.NeedsRehash(String hash, PasswordHashOptions options);

Installation

  1. Install from Nuget

    Install-Package libsodium-uwp
    
  2. Add the following to your Package.appxmanifest file.

    <Extensions>
        <Extension Category="windows.activatableClass.inProcessServer">
            <InProcessServer>
                <Path>libsodium-uwp.dll</Path>
                <ActivatableClass ActivatableClassId="Sodium.Core" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.CryptoHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHashAlgorithmProvider" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHashAlgorithmNames" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.KDF" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.KeyPair" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.OneTimeAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PasswordHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PublicKeyAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PublicKeyBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.ScalarMult" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SealedPublicKeyBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretKeyAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretAead" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.ShortHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.StreamEncryption" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.Utilities" ThreadingModel="both" />
            </InProcessServer>
        </Extension>
    </Extensions>

Package Verification

The following hashes are made available so you can verify the authenticity of this package both on Github and Nuget.

md5: a182758a50713d3afa01e5498db1f6d2  libsodium-uwp.1.0.150.nupkg
sha1: 8752f396ba045f3b1e2c77cc0df324405c144317  libsodium-uwp.1.0.150.nupkg
sha256: ba7f03ec9d07fdbd371b479a415ea606d829bcb7c28fa5a41f8ef7ebbb516df1  libsodium-uwp.1.0.150.nupkg
md5: 794c7dcfb45d5f2432b962ce2623bbb1  libsodium-uwp.1.0.150.symbols.nupkg
sha1: 4864b2863e8c58b7e5ca448c8a453c2fd7cec1aa  libsodium-uwp.1.0.150.symbols.nupkg
sha256: f918eb72988423d8fd1453e4917c5248080c1ed8f4a96eacd2ac388195677383  libsodium-uwp.1.0.150.symbols.nupkg

The Nuget package is also signed so you can verify the authenticity of this package.