gnutls_cipher_get_block_size(3)

✨ NAME ✨

gnutls_cipher_get_block_size β€” the API function that tells you how big a cipher's block is, bestie πŸ’–

It lives in the gnutls manual, and it's here to answer exactly one question: how many bytes in a block, queen?


🌸 SYNOPSIS 🌸

#include <gnutls/crypto.h>

unsigned gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t
algorithm);

Like, that's it. One function, one argument, one unsigned coming back at you. Simple. Elegant. Iconic. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_cipher_algorithm_t algorithm β€” bestie, this is an encryption algorithm. That's the whole vibe. You hand it a cipher algorithm and it does its little lookup thing. No cap. πŸ¦‹

πŸ’« RETURNS πŸ’«

the block size of the encryption algorithm. fr fr, that's the return value β€” the block size, in all its numeric glory. 🫢


⭐ SINCE ⭐

2.10.0 β€” so this one's been around since way before you were on this app, it's giving vintage but make it stable. πŸ’…


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? Do NOT suffer in silence, bestie, that's not the vibe.

lowkey if something's broken, tell the maintainers. They want to know. It's giving community. πŸ’œ

Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

(Translation: you can copy and share this, just keep the copyright notice and this notice intact. Slay, but respectfully. ✨)


🌈 SEE ALSO 🌈

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/

Go read the whole thing, iykyk πŸ“š


Okay that's the whole page, no crumbs left, we ate and left no evidence. This was gnutls 3.8.13, mwah πŸ’‹ β€” go check your block sizes responsibly, bestie! πŸ§šπŸ’–

πŸ“¦ where this page comes from