[#CAST_encrypt]
= CAST&lowbar;encrypt
:mrdocs:

Encrypt one CAST block in place as two CAST&lowbar;LONG words (deprecated low&hyphen;level)&period;

== Synopsis

Declared in `&lt;openssl&sol;cast&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
CAST&lowbar;encrypt(
    unsigned int* data,
    xref:CAST_KEY.adoc[CAST&lowbar;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&lowbar;LONG words holding the 64&hyphen;bit block (host endianness)&period;
| *key*
| Expanded CAST key from CAST&lowbar;set&lowbar;key()&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
