Skip to content

Releases

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 09:58

UnityCipher v2.0.0

This release improves Unity Package Manager integration and assembly-definition support while keeping the existing
AES/Rijndael and RSA APIs largely unchanged.

Highlights

  • Added a UnityCipher Assembly Definition for projects that use .asmdef files.
  • Improved UPM package metadata and version-pinned installation.
  • Added automated EditMode testing and .unitypackage generation.
  • Updated the installation and assembly-reference documentation.

Installation

Install v2.0.0 through Unity Package Manager using:

https://github.com/TakuKobayashi/UnityCipher.git?path=/Assets/UnityCipher#v2.0.0

Alternatively, add it directly to Packages/manifest.json:

{
  "dependencies": {
    "net.taptappun.taku.kobayashi.unitycipher":
    "https://github.com/TakuKobayashi/UnityCipher.git?path=/Assets/UnityCipher#v2.0.0"
  }
}

A traditional .unitypackage is also attached to this release.

Assembly Definition support

UnityCipher now provides its own assembly named UnityCipher.

If your project uses Assembly Definition files, add UnityCipher to the Assembly Definition References of each
assembly that uses the library. Adding only using UnityCipher; is not sufficient when the calling code belongs to
another explicitly defined assembly.

Projects without Assembly Definition files can continue using UnityCipher normally.

Breaking change

The first parameter of the string encryption overloads was renamed from plane to plain:

RijndaelEncryption.Encrypt(string plain, string password);
RSAEncryption.Encrypt(string plain, string publicKey);

Most callers are unaffected. Code using the old parameter name as a C# named argument must be updated:

// Before
RijndaelEncryption.Encrypt(plane: value, password: password);

// v2.0.0
RijndaelEncryption.Encrypt(plain: value, password: password);

Positional calls do not require changes.

Compatibility

  • Minimum supported Unity version: Unity 2019.4
  • Existing encrypted data formats and cryptographic behavior are unchanged.
  • Existing positional method calls remain compatible.patible.

Deal with UPM install and move Examples

Choose a tag to compare

@TakuKobayashi TakuKobayashi released this 02 Mar 01:18

UnityCipher has dealed with UPM (Unity Package Manager).
Along with this, the Exampes directory has been moved to the ouside packaging.
The installation method using UPM is described below.

UPM Install

// manifest.json
{
  "dependencies": {
       "net.taptappun.taku.kobayashi.unitycipher": "https://github.com/TakuKobayashi/UnityCipher.git?path=/Assets/UnityCipher#v1.3.0"
  }
}

Add Development features.

Choose a tag to compare

@TakuKobayashi TakuKobayashi released this 13 Jan 15:04
b6aa743
Merge pull request #2 from TakuKobayashi/develop

version to 1.2.0

Add feature update key settings

Choose a tag to compare

@TakuKobayashi TakuKobayashi released this 22 Dec 23:29
v1.1.0

update meta file.

Add LICENSE FIle And UnitTests

Choose a tag to compare

@TakuKobayashi TakuKobayashi released this 22 Dec 22:06
v1.0.1

Add Unit Test in RSAEncription

UnityCipher Release!! It can encrypt from Rijndael(AES) or RSA

Choose a tag to compare

@TakuKobayashi TakuKobayashi released this 21 Sep 19:09
v1.0

adjust scene