Skip to content

OmiyaGames/omiya-games-cryptography

Repository files navigation

Omiya Games - Cryptography

openupm Documentation ko-fi

A collection of tools to encrypt and decrypt various things. This includes:

An asset that encrypts and decrypts texts.

Inspector

Using the asset in script is super-easy:

// Create a new cryptographer with random password, hash key, etc.
// StringCryptographer can also be an inspector variable.
StringCryptographer encrypter = new StringCryptographer();

// Encrypt the text
string encryptedText = encrypter.Encrypt(text);

// Print on the console
Debug.Log(text + " encrypted is: " + encryptedText);

For more details, check out the references below:

Domain List is a binary file that stores a list of strings, such as a list of acceptable web host domains. This package provides a dialog to create, read, and edit these files.

Default Window

For security reasons, typical read operation of a Domain List is a bit more involved. For more details, check out the references below:

Install

Can be installed via OpenUPM or Unity's own Package Manager with the Github URL. Install the former with npm install -g openupm-cli, then run.

openupm add com.omiyagames.cryptography

Documentation

Full documentation is available at the Documentation~ directory. For changes made between versions, check out the CHANGELOG.md.

LICENSE

Overall package is licensed under MIT, unless otherwise noted in the 3rd party licenses file and/or source code.

Copyright (c) 2016-2021 Omiya Games