[#CAST_encrypt] = CAST_encrypt :mrdocs: Encrypt one CAST block in place as two CAST_LONG words (deprecated low‐level). == Synopsis Declared in `<openssl/cast.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void CAST_encrypt( unsigned int* data, xref:CAST_KEY.adoc[CAST_KEY] const* key); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *data* | Two CAST_LONG words holding the 64‐bit block (host endianness). | *key* | Expanded CAST key from CAST_set_key(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#