CastCipher public sealed class CastCipher : BlockCipher Implements CAST cipher algorithm. Documentation Code public CastCipher(byte[] key, CipherMode mode, CipherPadding padding) Initializes a new instance of the CastCipher class.