PICE 1.0.0-STABLE

This is a prerelease version of PICE.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package PICE --version 1.0.0-STABLE
NuGet\Install-Package PICE -Version 1.0.0-STABLE
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PICE" Version="1.0.0-STABLE" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PICE --version 1.0.0-STABLE
#r "nuget: PICE, 1.0.0-STABLE"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PICE as a Cake Addin
#addin nuget:?package=PICE&version=1.0.0-STABLE&prerelease

// Install PICE as a Cake Tool
#tool nuget:?package=PICE&version=1.0.0-STABLE&prerelease

PICE


NOTICE: This Project is only intended for U.S.A (United States of America) Residents, if you are not of the USA you are prohibited to use this project. If you are a resident, then the project is licensed under a Modified Apache license 2.0.

This Project is an experiment, it is recommended that you do not use it for anything big

Encrypt strings using pictures

v 1.0.0-STABLE

PICE (meaning: PICture Encryption)

Languages supported so far:

  • C#

Currently working on:

  • Making It be able to use a image file thats smaller than string
  • randomly generated image files
  • read and write files without having to use File.WriteAllBytes and File.ReadAllBytes (new syntax is going to be PICEENCRYPT.EncryptFile(img, string, file) and PICEENCRYPT.DecryptFile(img, file))

How it works

PICE Encodes a string with utf32 then uses the rgba values of each pixel in a image file to encrypt the encoded string.

DOCS

C#

Download from Github NuGet → dotnet add PROJECT package PICE

Download with NuGet PM → Install-Package PICE

(NuGet Will be updated before itch.io and github page)

USE 1.0.0-STABLE, DO NOT USE 1.0.0-1.0.7 THEY WILL NOT WORK

Encrypt and decrypt a string example →

using System;
using PICE;
class PICETEST {
   static void Main(string[] args) {
      //make sure the area of the picture is bigger than the length of the string, It will cause errors if not!
      //encrypts data using image
      byte[] myEncryption = PICEENCRYPT.Encrypt("./myimg.png" /*get image path*/, "Hello, World")
      
      //use same image file to decrypt
      string deCrypt = PICEENCRYPT.Decrypt("./myimg.png", myEncryption);
    }
}

Encrypt a string to file →

using System;
using System.IO;
using PICE;
class PICETEST {
   static void Main(string[] args) {
      //make sure the area of the picture is bigger than the length of the string, It will cause errors if not!
      //encrypts data using image
      byte[] myEncryption = PICEENCRYPT.Encrypt("./myimg.png" /*get image path*/, "Hello, World")
      File.WriteAllBytes("./encryptedfile.pice" /* your encrypted files path */, myEncryption);
      //use same image file to decrypt
      string deCrypt = PICEENCRYPT.Decrypt("./myimg.png", File.ReadAllBytes("./encrypdedfile.pice") /* reads the encrypted file and decrypts it*/);
    }
}

more

Join my discord programming server! - https://discord.gg/NVm6Rd5

For more Nuget Downloads - https://www.nuget.org/packages/PICE/

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 527 10/5/2020