cryptography icon indicating copy to clipboard operation
cryptography copied to clipboard

Ed25519 documentation wrt separate PublicKey

Open kevlar700 opened this issue 4 years ago • 1 comments

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?

kevlar700 avatar Mar 05 '21 10:03 kevlar700

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

NeonPokharkar avatar Jan 31 '22 20:01 NeonPokharkar