From d41427b17d1c752fdd508b5ff4850217a68f1922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaarlo=20R=C3=A4ih=C3=A4?= Date: Wed, 29 Nov 2023 19:35:35 +0200 Subject: [PATCH] Update README topics They didn't mention example --- README.md | 2 +- nuget-readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1d66c3..7de37f1 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ byte[] decryptedMessage = new byte[message.Length]; func_ret = Ascon128av12.crypto_aead_decrypt(decryptedMessage, out mlen2, null, encryptedMessage, clen, associatedData, associatedData.Length, nonce, key); ``` -### Fancy API +### Fancy API example With Ascon-128 you can do the following, test it out in [.NET Fiddle](https://dotnetfiddle.net/AAkKSV) diff --git a/nuget-readme.md b/nuget-readme.md index f630c64..39cd640 100644 --- a/nuget-readme.md +++ b/nuget-readme.md @@ -66,7 +66,7 @@ byte[] decryptedMessage = new byte[message.Length]; func_ret = Ascon128av12.crypto_aead_decrypt(decryptedMessage, out mlen2, null, encryptedMessage, clen, associatedData, associatedData.Length, nonce, key); ``` -### Fancy API +### Fancy API example With Ascon-128 you can do the following