Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

boolean as input in Seal() and Open()? #13

Open
ykcab opened this issue Jul 2, 2020 · 0 comments
Open

boolean as input in Seal() and Open()? #13

ykcab opened this issue Jul 2, 2020 · 0 comments

Comments

@ykcab
Copy link

ykcab commented Jul 2, 2020

Why do we need this? and what should the user pass True or False? can we construct a better API?

func (e *StreamEncryptor) Seal(dst, plaintext, aData []byte, lastBlock bool) []byte {

EDIT: AES-PMAC-SIV decryption is falling too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant