PICE 1.0.0-STABLE

Encrypt strings using image pixels!

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 or shouldn't be used anymore.
Install-Package PICE -Version 1.0.0-STABLE
dotnet add package PICE --version 1.0.0-STABLE
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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/

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/

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 102 10/5/2020