[#EVP_EncodeBlock]
= EVP&lowbar;EncodeBlock
:mrdocs:

Base64&hyphen;encode `n` bytes from `f` into `t` as a single block (with NUL terminator)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;EncodeBlock(
    unsigned char* t,
    unsigned char const* f,
    int n);
----

== Return Value

Number of Base64 characters written, not counting the trailing NUL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *t*
| Destination buffer (at least ((n&plus;2)&sol;3)&ast;4 &plus; 1 bytes)&period;
| *f*
| Input octets to encode&period;
| *n*
| Number of input bytes&period;
|===


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