Sign the data with the given key.
The key to sign the data with, can be a string, Buffer, or KeyObject.
The data to be signed, can be a string or Buffer.
Optional
Optional options for signing, such as key passphrase.
The signature of the data as a Buffer.
Sign the data with the given key.