e-CryptIt Engine Xojo Plugin

EinhugurEd25519.BufferedSign Method

Signs message using private and public key pair. The buffered version is used to sign very long message such as whole file.

BufferedSign(
   keys as EinhugurEd25519.KeyPair) as EinhugurEd25519.SignBuffer

Parameters

keys
The key pair to use to sign.

Returns

EinhugurEd25519.SignBuffer
Buffer object to use to stream the large message (twice)

Remarks

Note that signing is two step process, so you will need to run your file through the buffer twice.

Buffered sign goes like:
1. BufferedSign.
2. buffer.Update in chunks as often as needed until your through the file.
3. buffer.FirstRoundFinal.
4. buffer.Update in chunks as often as needed until your through the file (2nd round).
5. buffer.SecondRoundFinal.

This function can throw InvalidArgumentException if the keys are nil.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS
  • See Also

    EinhugurEd25519 Module