# std.crypto.aead: Consistent decryption tail and doc fixes \(\#16781\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9135115573051eff58ffcf1ba0a3cce51ed0b413)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9135115573051eff58ffcf1ba0a3cce51ed0b413

Requested commit: 9135115573051eff58ffcf1ba0a3cce51ed0b413

Commit: 9135115573051eff58ffcf1ba0a3cce51ed0b413

Tree: 2fb1cc52c2e7c0fbda59bf4b7af80b5117df710a

Author: e4m2

Committer: GitHub

## Message

```
std.crypto.aead: Consistent decryption tail and doc fixes (#16781)

* Consistent decryption tail for all AEADs

* Remove outdated note

This was previously copied here from another function. There used
to be another comment on the tag verification linking to issue #1776,
but that one was not copied over. As it stands, this note seems fairly
misleading/irrelevant.

* Prettier docs

* Add note about plaintext contents to docs

* Capitalization

* Fixup missing XChaChaPoly docs
```

## Parents

- [8f3ccbbe367bea66d7f0f364a957870eb2cc95a0](https://git.cafe/gitcafe/zig/commit/8f3ccbbe367bea66d7f0f364a957870eb2cc95a0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9135115573051eff58ffcf1ba0a3cce51ed0b413?format=markdown)
