docs: add inline documentation where missing

This commit is contained in:
Björn Fromme committed 2026-03-16 12:01:09 +01:00
1 parent 2fe9185a6f
commit ea1ce4a029
18 files changed
+150

No files matched your search

+9
View File
@@ -1,10 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Security;
use Spatie\Crypto\Rsa\PrivateKey;
use Spatie\Crypto\Rsa\PublicKey;
/**
* RSA encryption/decryption utilities for secure credential storage.
*
* Uses asymmetric encryption to store BPN API passwords securely. Private key
* encrypts data for storage, public key decrypts for API calls. Also provides
* signing/verification for message integrity.
*/
class Crypt
{
public function __construct(private readonly string $path)