• fpirsch's avatar
    fix incorrect padding with multi-byte strings · 76db2065
    fpirsch authored
    As far as encrypting and paddings are concerned, we are talking about **bytes** and not **characters**. So basic strlen/substr functions must be used instead of their mbstring version.
    76db2065
crypter.php 3.74 KB