# Sign helper
Sign helper allows to easily perform signature-related operations.
# Provided operations
Below you can find the sign helper's provided operations with some examples
Converts the given
data
into an alphabetically sorted JSON object and signs its content using the givenwallet
static Uint8List signSorted(Map<String, dynamic> data, Wallet wallet)
1Concatenates
senderDid
,pairwiseDid
andtimestamp
and make a SHA-256 digest of it. Then uses thersaPrivateKey
to sign the hash and returning the resulting bytes.static Uint8List signPowerUpSignature({ required String senderDid, required String pairwiseDid, required String timestamp, required CommercioRSAPrivateKey rsaPrivateKey, })
1
2
3
4
5
6