Encrypts data using the Counter (CTR) mode with 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 the Counter (CTR) mode with Magma cipher.