• 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/StreamCipher/constants.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Crypto\StreamCipher;
6

7
/**
8
 * Key length for AES-128-CTR in bytes.
9
 *
10
 * @var positive-int
11
 */
NEW
12
const AES_128_KEY_BYTES = 16;
×
13

14
/**
15
 * Key length for AES-256-CTR and XChaCha20 in bytes.
16
 *
17
 * @var positive-int
18
 */
NEW
19
const AES_256_KEY_BYTES = 32;
×
20

21
/**
22
 * Key length for XChaCha20 in bytes.
23
 *
24
 * @var positive-int
25
 */
NEW
26
const XCHACHA20_KEY_BYTES = 32;
×
27

28
/**
29
 * IV length for AES-CTR (128 and 256) in bytes.
30
 *
31
 * @var positive-int
32
 */
NEW
33
const AES_CTR_IV_BYTES = 16;
×
34

35
/**
36
 * IV (nonce) length for XChaCha20 in bytes.
37
 *
38
 * @var positive-int
39
 */
NEW
40
const XCHACHA20_IV_BYTES = 24;
×
41

42
/**
43
 * Block size for AES-CTR in bytes.
44
 *
45
 * @var positive-int
46
 */
NEW
47
const AES_CTR_BLOCK_BYTES = 16;
×
48

49
/**
50
 * Block size for XChaCha20 in bytes.
51
 *
52
 * @var positive-int
53
 */
NEW
54
const XCHACHA20_BLOCK_BYTES = 64;
×
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