Skip to content

Commit

Permalink
Renamed project from PHPCrypt to PHPEncryptData
Browse files Browse the repository at this point in the history
  • Loading branch information
archwisp committed Jun 1, 2014
1 parent 6148df6 commit 6ee9e59
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Example.php
Expand Up @@ -2,9 +2,9 @@

require __DIR__ . '/vendor/autoload.php';

$phpcrypt = new \PHPCrypt\Simple(
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NDcM1W4u2k=',
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtQAFcfRcQOTU='
$phpcrypt = new \PHPEncryptData\Simple(
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NDcM1W42k=',
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtQAFcfRQOTU='
);

$ciphertext = $phpcrypt->encrypt('Foobar');
Expand Down
12 changes: 6 additions & 6 deletions README.md
@@ -1,4 +1,4 @@
# \PHPCrypt\ - Simple Encryption Library For PHP 5.3+
# \PHPEncryptData\ - Simple Data Encryption Library For PHP 5.3+

If you are looking for the answer to the question, "How do I encrypt
sensitive data in PHP?", you are in the correct place. Read through
Expand All @@ -10,9 +10,9 @@ code, and you will have secure encryption.
Install via Composer:

1. [Download Composer](http://getcomposer.org/download/) using your preferred method.
2. Add PHPCrypt to your project:
2. Add PHPEncryptData to your project:

$ php composer.phar require archwisp/php-crypt
$ php composer.phar require archwisp/php-encrypt-data

## Basic Usage

Expand All @@ -34,7 +34,7 @@ Install via Composer:

// These keys won't actually work... on purpose. Create your OWN!
$phpcrypt = new \PHPCrypt\Simple(
$phpcrypt = new \PHPEncryptData\Simple(
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NDcM1W42k='
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtQAFcfcQOTU='
);
Expand Down Expand Up @@ -121,7 +121,7 @@ generate an encryption key with the following command:

require __DIR__ . '/vendor/autoload.php';

$phpcrypt = new \PHPCrypt\Simple(
$phpcrypt = new \PHPEncryptData\Simple(
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NM1W4u2k=',
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtFcfRcQOTU='
);
Expand Down Expand Up @@ -159,7 +159,7 @@ generate an encryption key with the following command:

1. [Download Composer](http://getcomposer.org/download/) using your preferred method.

2. From the PHPCrypt directory, install the project dependencies:
2. From the PHPEncryptData directory, install the project dependencies:

$ php composer.phar install

Expand Down
10 changes: 5 additions & 5 deletions Simple.php
@@ -1,19 +1,19 @@
<?php // vim:ts=4:sts=4:sw=4:et:

/**
* Simple Encryption Library For PHP 5.3+
* Simple Data Encryption Library For PHP 5.3+
*
* PHP Version 5.3
*
* @category PHP
* @package PHPCrypt
* @package PHPEncryptData
* @author Bryan C. Geraghty <bryan@ravensight.org>
* @copyright 2013 Bryan C. Geraghty
* @license https://github.com/archwisp/PHPCrypt/blob/master/LICENSE MIT
* @link https://github.com/archwisp/PHPCrypt
* @license https://github.com/archwisp/PHPEncryptData/blob/master/LICENSE MIT
* @link https://github.com/archwisp/PHPEncryptData
*/

namespace PHPCrypt;
namespace PHPEncryptData;

class Simple
{
Expand Down
2 changes: 1 addition & 1 deletion SimpleTest.php
@@ -1,6 +1,6 @@
<?php // vim:ts=4:sts=4:sw=4:et:

namespace PHPCrypt;
namespace PHPEncryptData;

class SimpleTest extends \PHPUnit_Framework_TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions composer.json
@@ -1,6 +1,6 @@
{
"name": "archwisp/php-crypt",
"description": "Simple Encryption Library For PHP 5.3+",
"name": "archwisp/php-encrypt-data",
"description": "Simple Data Encryption Library For PHP 5.3+",
"license": "MIT",
"authors": [
{
Expand Down

0 comments on commit 6ee9e59

Please sign in to comment.