Open SSL AES

Hi all.

Is there any way that i can set the “key” and “iv” for aes-128-cbc as hex value ?

If i understand the encryption right i can only set a string value like …

local openssl = require(“plugin.openssl”)

local aesKey = openssl.get_cipher(“aes-128-cbc”)

local xy = aesKey:encrypt(“MY secret text”,“key”,“iv”)

But i need to set the key and iv as a hex value, but how … ?