[#RSA_X931_hash_id]
= RSA&lowbar;X931&lowbar;hash&lowbar;id
:mrdocs:

Return the X9&period;31 hash algorithm identifier byte for digest NID `nid` (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
RSA&lowbar;X931&lowbar;hash&lowbar;id(int nid);
----

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

Hash&hyphen;ID byte used in X9&period;31 encoding, or &hyphen;1 if `nid` is unsupported&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nid*
| Digest NID such as NID&lowbar;sha1 or NID&lowbar;sha256&period;
|===


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