Skip to main content
100%

Dart PointyCastle Experiment

✓ Published0🌍 Public
CCarlos-Augusto
Last edited Oct 5, 2020
Created on Oct 5, 2020

This example demonstrates the parsing and verification of a signed data envelope encoded in base64, using Dart’s `pointycastle` cryptography library. It unpacks a binary payload with a custom `Unpacker` class, extracts the signature and signed data, and confirms they match expected base64 strings. The code then decodes an ECDSA P-256 public key and constructs an elliptic curve point from its x and y coordinates using `ECCurve_prime256v1` and `ECPublicKey`, showcasing raw key material handling and point creation without performing verification.

AI-generated description

Similar vizzes