I am trying to use roEVPCipher method to encrypt my data using aes-128-ecb cipher,
But Its failing in initial setup only, Setup returns error code as -1
cipher_obj = CreateObject("roEVPCipher")
ret = cipher_obj.Setup(true, "aes-128-ecb", "0123456789abcdef", "", 0)
if ret <> 0
print "Setup Error" ; ret
end if
The similar code is working properly for blowfish cipher encryption
cipher_obj = CreateObject("roEVPCipher")
ret = cipher_obj.Setup(true, "bf", "7B1CB530521E7554D623E1412A2CF29F", "785BC65A9D7850FD", 0)
if ret <> 0
print "Setup Error" ; ret
end if
Please suggest me, how to use aes-128-ecb cipher encryption