sign() allow the user to provide the random k, while encrypt() does not allow it...
Could it be possible to change the encrypt() in order to add the k param (it could be optional, and internally generated if not provided by the user, to keep API compatibility)?
sign()
allow the user to provide the randomk
, whileencrypt()
does not allow it... Could it be possible to change theencrypt()
in order to add thek
param (it could be optional, and internally generated if not provided by the user, to keep API compatibility)?