diff --git a/nselib/openssl.luadoc b/nselib/openssl.luadoc index b229bda1a..8e2161a16 100644 --- a/nselib/openssl.luadoc +++ b/nselib/openssl.luadoc @@ -153,12 +153,12 @@ function hmac(algorithm, key, message) -- encrypted (default false). function encrypt(algorithm, key, iv, data, padding) ---- Descrypt data with a given algorithm, key, and initialization vector. +--- Decrypt data with a given algorithm, key, and initialization vector. -- @param algorithm Any of the strings returned by -- openssl.supported_ciphers. -- @param key Key. -- @param iv Initialization vector. --- @param data Data to encrypt. +-- @param data Data to decrypt. -- @param padding If true, then the final block must be padded correctly -- (default false). function decrypt(algorithm, key, iv, data, padding)