Download the PHP package proberts/skip32 without Composer

On this page you can find all versions of the php package proberts/skip32. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package skip32

Skip32 php implementation

32-bit block cipher based on Skipjack

This cipher can be handy for scrambling small (32-bit) values when you would like to obscure them while keeping the encrypted output size small (also only 32 bits).

Skip32.php

Simple API to encrypt/decrypt values using the Skip32 cipher

Example :

$key = '0123456789abcdef0123'; // 10 bytes key $int = 4294967295; // 4 bytes integer

$encrypted = Skip32::encrypt($key, $int); $decrypted = Skip32::decrypt($key, $encrypted);

printf("%d encrypted to %d\n", $int, $encrypted); printf("%d decrypted to %d\n", $encrypted, $decrypted);

This will display (on 64-bit architecture) :

4294967295 encrypted to 572455217 572455217 decrypted to 4294967295

Skip32Cipher.php

Adaptation of a direct Perl translation of the SKIP32 C implementation http://search.cpan.org/~esh/Crypt-Skip32/lib/Crypt/Skip32.pm http://www.qualcomm.com.au/PublicationsDocs/skip32.c

Example :

$key = pack('H20', '0123456789abcdef0123'); // 10 bytes key $cipher = new Skip32Cipher($key);

$int = 4294967295; // 4 bytes integer

$bin = pack('N', $int); $encrypted = $cipher->encrypt($bin); list(, $encryptedInt) = unpack('N', $encrypted);

printf("%d encrypted to %d\n", $int, $encryptedInt);

$bin = pack('N', $encryptedInt); $decrypted = $cipher->decrypt($bin); list(, $decryptedInt) = unpack('N', $decrypted);

printf("%d decrypted to %d\n", $encryptedInt, $decryptedInt);

This will display (on 64-bit architecture) :

4294967295 encrypted to 572455217 572455217 decrypted to 4294967295

Performed by Nicolas Lenepveu [email protected]


All versions of skip32 with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package proberts/skip32 contains the following files

Loading the files please wait ....