Skip to content

single random call, clamp ivsz/macsz, update CI matrix - #1

Merged
deemru merged 1 commit into
deemru:masterfrom
PiDmitrius:dev
Mar 28, 2026
Merged

single random call, clamp ivsz/macsz, update CI matrix#1
deemru merged 1 commit into
deemru:masterfrom
PiDmitrius:dev

Conversation

@PiDmitrius

Copy link
Copy Markdown
Contributor

Changes

  1. Single random callrnd(ivsz * 2) + split instead of two separate rnd(ivsz) calls (~20% encrypt speedup on short data)
  2. Clamp ivsz/macszivsz capped at hash_size / 2, macsz at hash_size (silent clamp, no exceptions)
  3. CI matrix — added PHP 8.3, 8.4, 8.5; updated checkout to v4

Defaults unchanged (4/4). Fully backward compatible.

@deemru
deemru merged commit f513799 into deemru:master Mar 28, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants