Encrypts data using Electronic Codebook (ECB) mode with Magma cipher.
Encryption key
Data to be encrypted
Enable backward compatibility with old GOST 28147-89
Optional substitution box, defaults to ID_TC26_GOST_28147_PARAM_Z
ID_TC26_GOST_28147_PARAM_Z
Encrypts data using Electronic Codebook (ECB) mode with Magma cipher.