Tarantool Lua API

crypto.cipher

Methods4

function cipher.init(self: crypto.cipher, key: nil | string, iv: nil | string) -> nil

Initialize.

function cipher.update(self: crypto.cipher, input: string) -> string

Process data.

function cipher.result(self: crypto.cipher) -> string

Return final chunk.

function cipher.free(self: crypto.cipher) -> nil

Free the cipher context.