docs: add inline documentation where missing

This commit is contained in:
Björn Fromme committed 2025-12-19 17:26:59 +01:00
1 parent 2dd5b7ad64
commit 1f1ac1a0cc
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)