You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The block size calculation is not correct because mb_strlen is used instead of strlen
Block ciphers operate with fixed size blocks of bytes not symbols while mb_strlen counts symbols (which can be single-byte or multi-byte). A multi-byte character is counted as 1
Describe the bug
The block size calculation is not correct because
mb_strlen
is used instead ofstrlen
Block ciphers operate with fixed size blocks of bytes not symbols while
mb_strlen
counts symbols (which can be single-byte or multi-byte). A multi-byte character is counted as 1Credit @elcreator
The text was updated successfully, but these errors were encountered: