• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

azjezz / psl / 22639242943

03 Mar 2026 07:30PM UTC coverage: 97.792% (-0.4%) from 98.201%
22639242943

Pull #607

github

azjezz
feat: introduce `Crypto` component

Signed-off-by: azjezz <azjezz@protonmail.com>
Pull Request #607: feat: introduce `Crypto` component

348 of 394 new or added lines in 49 files covered. (88.32%)

2 existing lines in 1 file now uncovered.

9302 of 9512 relevant lines covered (97.79%)

39.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Psl/Crypto/Kdf/constants.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Crypto\Kdf;
6

7
use const SODIUM_CRYPTO_KDF_BYTES_MAX;
8
use const SODIUM_CRYPTO_KDF_BYTES_MIN;
9
use const SODIUM_CRYPTO_KDF_CONTEXTBYTES;
10
use const SODIUM_CRYPTO_KDF_KEYBYTES;
11

12
/**
13
 * The length of a KDF master key in bytes.
14
 *
15
 * @var positive-int
16
 */
NEW
17
const KEY_BYTES = SODIUM_CRYPTO_KDF_KEYBYTES;
×
18

19
/**
20
 * The required length of the KDF context string in bytes.
21
 *
22
 * @var positive-int
23
 */
NEW
24
const CONTEXT_BYTES = SODIUM_CRYPTO_KDF_CONTEXTBYTES;
×
25

26
/**
27
 * The minimum derived key length in bytes.
28
 *
29
 * @var positive-int
30
 */
NEW
31
const DERIVED_MIN_BYTES = SODIUM_CRYPTO_KDF_BYTES_MIN;
×
32

33
/**
34
 * The maximum derived key length in bytes.
35
 *
36
 * @var positive-int
37
 */
NEW
38
const DERIVED_MAX_BYTES = SODIUM_CRYPTO_KDF_BYTES_MAX;
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc