Encrypts data using Cipher Block Chaining (CBC) mode with the Magma cipher.
Encryption key
Data to be encrypted
Initialization vector
Optional substitution box, defaults to ID_TC26_GOST_28147_PARAM_Z
ID_TC26_GOST_28147_PARAM_Z
Encrypts data using Cipher Block Chaining (CBC) mode with the Magma cipher.