Convert a string to its corresponding array of bytes using the default encoding.
Convert a string to its corresponding array of bytes using the default encoding.
the string to convert
the final array of bytes
Convert a sequence of tuples to a JSON object
Merge multiple JSON strings to a unique one
Convert a sequence to a JSON array
Alias to sign
using a String data which will be converted to an array of bytes.
Will try to sign some given data by parsing the provided key, if parsing fail, please consider retrieving the SecretKey or the PrivateKey on your side and then use another "sign" method.
Generate the signature for a given data using the key and RSA or ECDSA algorithm provided.
Generate the signature for a given data using the key and HMAC algorithm provided.
Convert an array of bytes to its corresponding string using the default encoding.
Convert an array of bytes to its corresponding string using the default encoding.
the array of bytes to transform
the final string
Alias for verify
Will try to check if a signature is valid for a given data by parsing the provided key, if parsing fail, please consider retrieving the SecretKey or the PublicKey on your side and then use another "verify" method.
Check if a signature is valid for a given data using the key and the RSA or ECDSA algorithm provided.
Check if a signature is valid for a given data using the key and the HMAC algorithm provided.