GcryptWithIV.encrypt

Encrypt the content of buffer in place.

class GcryptWithIV(Algorithm algorithm, Mode mode)
void
encrypt
(,
in void[] iv
)

Parameters

buffer mstring

the content to be encrypted in place

iv void[]

the initialisation vector to use

Throws

if setting the init vector or the encryption fails

Meta