Skip to content

Commit 6ee9e59

Browse files
committed
Renamed project from PHPCrypt to PHPEncryptData
1 parent 6148df6 commit 6ee9e59

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

Example.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

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

5-
$phpcrypt = new \PHPCrypt\Simple(
6-
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NDcM1W4u2k=',
7-
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtQAFcfRcQOTU='
5+
$phpcrypt = new \PHPEncryptData\Simple(
6+
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NDcM1W42k=',
7+
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtQAFcfRQOTU='
88
);
99

1010
$ciphertext = $phpcrypt->encrypt('Foobar');

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# \PHPCrypt\ - Simple Encryption Library For PHP 5.3+
1+
# \PHPEncryptData\ - Simple Data Encryption Library For PHP 5.3+
22

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

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

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

1717
## Basic Usage
1818

@@ -34,7 +34,7 @@ Install via Composer:
3434

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

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

124-
$phpcrypt = new \PHPCrypt\Simple(
124+
$phpcrypt = new \PHPEncryptData\Simple(
125125
'6zp4y5vnUQpfEroWI6dMq5lC46F5Dmqa4NM1W4u2k=',
126126
'RJikKksPg3UmqgQPXBwCmcSOMHQn0iOtFcfRcQOTU='
127127
);
@@ -159,7 +159,7 @@ generate an encryption key with the following command:
159159

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

162-
2. From the PHPCrypt directory, install the project dependencies:
162+
2. From the PHPEncryptData directory, install the project dependencies:
163163

164164
$ php composer.phar install
165165

Simple.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?php // vim:ts=4:sts=4:sw=4:et:
22

33
/**
4-
* Simple Encryption Library For PHP 5.3+
4+
* Simple Data Encryption Library For PHP 5.3+
55
*
66
* PHP Version 5.3
77
*
88
* @category PHP
9-
* @package PHPCrypt
9+
* @package PHPEncryptData
1010
* @author Bryan C. Geraghty <[email protected]>
1111
* @copyright 2013 Bryan C. Geraghty
12-
* @license https://github.com/archwisp/PHPCrypt/blob/master/LICENSE MIT
13-
* @link https://github.com/archwisp/PHPCrypt
12+
* @license https://github.com/archwisp/PHPEncryptData/blob/master/LICENSE MIT
13+
* @link https://github.com/archwisp/PHPEncryptData
1414
*/
1515

16-
namespace PHPCrypt;
16+
namespace PHPEncryptData;
1717

1818
class Simple
1919
{

SimpleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php // vim:ts=4:sts=4:sw=4:et:
22

3-
namespace PHPCrypt;
3+
namespace PHPEncryptData;
44

55
class SimpleTest extends \PHPUnit_Framework_TestCase
66
{

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "archwisp/php-crypt",
3-
"description": "Simple Encryption Library For PHP 5.3+",
2+
"name": "archwisp/php-encrypt-data",
3+
"description": "Simple Data Encryption Library For PHP 5.3+",
44
"license": "MIT",
55
"authors": [
66
{

0 commit comments

Comments
 (0)