docs: add inline documentation where missing

This commit is contained in:
Björn Fromme
2025-12-19 17:26:59 +01:00
parent 2dd5b7ad64
commit 1f1ac1a0cc
18 changed files with 150 additions and 0 deletions
+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)