Bundle Protocol Security (RFC 9172) - authentication and encryption for DTN
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpsec: fix README — decrypt_bcb ciphertext and result are string lists

+3 -3
+3 -3
README.md
··· 50 50 () 51 51 52 52 (* Decrypt *) 53 - match Bpsec.decrypt_bcb ~key bcb ~ciphertext:encrypted with 54 - | Some plaintext -> (* ... *) 55 - | None -> (* decryption failed *) 53 + match Bpsec.decrypt_bcb ~key bcb ~ciphertext:[encrypted] with 54 + | Some [plaintext] -> (* ... *) 55 + | _ -> (* decryption failed *) 56 56 ``` 57 57 58 58 ## Related Work