Method __builtin.Nettle.Hash()->eme_oaep_decode()
- Method
eme_oaep_decode
string(8bit)|zeroeme_oaep_decode(string(8bit)message,string(8bit)|voidlabel,function(string(8bit),int(0..):string(8bit))|voidmgf)- Description
Decode an EME-OAEP encoded string.
- Parameter
message Message to decode.
- Parameter
label Label that was used when the message was encoded. Defaults to
"".- Parameter
mgf Mask generation function to use. Defaults to mgf1().
- Returns
Returns the decoded message on success, and
0(zero) on failure.- Note
The decoder attempts to take a constant amount of time on failure.
- See also