cryptography
cryptography copied to clipboard
Ed25519 documentation wrt separate PublicKey
The documentation only describes creating a fresh keypair and extracting the public key.
Is the way to utilise a separate public key from another language?
SimplePublicKey pubkey = SimplePublicKey(pkbytes, type: KeyPairType.ed25519):
Should this be added to the examples/documentation?
I used the above code, got the following error, don't know why..
Unhandled Exception: 'package:cryptography/src/dart/ed25519_impl.dart': Failed assertion: line 234 pos 12: 'packed.length == 32': length=64