Const
Encrypts data using the Counter (CTR) mode with Magma cipher.
Encryption key
Data to be encrypted
Initialization vector
Enable backward compatibility with old GOST 28147-89
Optional substitution box, defaults to ID_TC26_GOST_28147_PARAM_Z
Decrypts data using the Counter (CTR) mode with Magma cipher.