Function signBytes

  • signBytes takes arbitrary bytes and a secret key, prepends the bytes with "MX" for domain separation, signs the bytes with the private key, and returns the signature.

    Parameters

    • bytes: Uint8Array

      Uint8array

    • sk: Uint8Array

      Algorand secret key

    Returns Uint8Array

    binary signature

Generated using TypeDoc