We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9e8f9 commit eed91c3Copy full SHA for eed91c3
README.md
@@ -0,0 +1,12 @@
1
+# php-openssl-cryptor
2
+
3
+This is a simple class demonstrating use of the basic openssl encrypt/decrypt
4
+routines in PHP.
5
6
+The Cryptor class supports arbitrary encryption and key hashing algorithms, along
7
+with raw, base64 and hex encoding of the encrypted data. Static convenience methods
8
+are provided for the default of AES, but a cryptor instance can be used for more
9
+flexibility. The default uses aes-256-ctr to avoid the need for padding and the related
10
+issues. Unfortunately GCM cannot be used as the PHP openssl module does not provide
11
+a way to retrieve the GCM tag. This is proposed to be remedied in PHP 7.1 when
12
+associated data can be retrieved.
0 commit comments