Skip to content

doc: Examples work when data exceeds buffer size

The crypto examples would only work when the input data was under 16 bytes. Above that, important data was being thrown away and decrypting them would give a difficult to debug error (see below).

Error given when .update data was being discarded: Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

Merge request reports

Loading