@midnight/ledger v3.0.2 • Readme | API
@midnight/ledger v3.0.2 / signData
Function: signData()
signData(key, data): Signature
Signs arbitrary data with the given signing key.
WARNING: Do not expose access to this function for valuable keys for data that is not strictly controlled!
Parameters
• key: string
• data: Uint8Array