Skip to content

Commit 7769fae

Browse files
adamrhunterpetrleocompel
authored andcommitted
docs: typo with X25519 Key Agreement example
1 parent 094baf0 commit 7769fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptography/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Future<void> main() async {
334334
keyPair: aliceKeyPair,
335335
remotePublicKey: bobPublicKey,
336336
);
337-
final sharedSecretBytes = await aliceKeyPair.extractBytes();
337+
final sharedSecretBytes = await sharedSecret.extractBytes();
338338
print('Shared secret: $sharedSecretBytes');
339339
}
340340
```
@@ -435,4 +435,4 @@ Future<void> main() async {
435435
436436
print('SHA-512 hash: ${hash.bytes}');
437437
}
438-
```
438+
```

0 commit comments

Comments
 (0)