[#SEED_ecb_encrypt]
= SEED&lowbar;ecb&lowbar;encrypt
:mrdocs:

Encrypt or decrypt one 16&hyphen;byte SEED block in ECB mode (deprecated&semi; prefer EVP)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
SEED&lowbar;ecb&lowbar;encrypt(
    unsigned char const* in,
    unsigned char* out,
    xref:SEED_KEY_SCHEDULE.adoc[SEED&lowbar;KEY&lowbar;SCHEDULE] const* ks,
    int enc);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| 16&hyphen;byte input block&period;
| *out*
| 16&hyphen;byte output buffer (may equal `in)&period;`
| *ks*
| Expanded SEED key schedule&period;
| *enc*
| Nonzero to encrypt, or zero to decrypt&period;
|===


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