EncryptionKey
MMO\oauth\keys · 1 symbol · generated 5 Oct 2026
EncryptionKey
EncryptionKey.php:10- Namespace
MMO\oauth\keys- Extends
- aKey
- Implements
- iPrivateKey, iPublicKey
Index
| decrypt($data) | Decrypt data in DER format using derivative keys | |
| encrypt($data) | Encrypt data in DER format using derivative keys | |
| From($key) static | Create an encryption key from random data | |
| Random() static | ||
| sign($msg) | Sign a string with a given algorithm. | |
| verify($msg, $signature) | Verify a signature with the message and method. | |
| __construct($key) | Constructs a new EncryptionKey object from a string of raw bytes. |
Methods7
decrypt($data)
EncryptionKey.php:72Decrypt data in DER format using derivative keys
encrypt($data)
EncryptionKey.php:63Encrypt data in DER format using derivative keys
From($key)
staticEncryptionKey.php:28Create an encryption key from random data
Random()
staticEncryptionKey.php:19| returns | static |
sign($msg)
EncryptionKey.php:43Sign a string with a given algorithm.
verify($msg, $signature)
EncryptionKey.php:53Verify a signature with the message and method.
__construct($key)
EncryptionKey.php:15Constructs a new EncryptionKey object from a string of raw bytes.
| $key | string |