Cryptographic Token Interface Standard |
PKCS#11 |
RC4, denoted CKM_RC4, is a mechanism for single- and multiple-part encryption and decryption based on RSA Data Security's proprietary stream cipher RC4.
It does not have a parameter.
Constraints on key types and the length of input and output data are summarized in the following table:
Table 74, RC4: Key And Data Length
Function | Key type | |||
C_Encrypt | RC4 | |||
C_Decrypt | RC4 |
For this mechanism, the ulMinKeySize and ulMaxKeySize fields of the CK_MECHANISM_INFO structure specify the supported range of RC4 key sizes, in bits.