verifyWithIntent method

bool verifyWithIntent(
  1. Uint8List bytes,
  2. String signature,
  3. IntentScope intent
)

Implementation

bool verifyWithIntent(
	Uint8List bytes,
	String signature,
	IntentScope intent,
) {
	final intentMessage = messageWithIntent(intent, bytes);
	final digest = blake2b(intentMessage);

	return verify(digest, base64Decode(signature));
}