EVP_CIPHER-CAST(7SSL)

πŸ’– EVP_CIPHER-CAST β€” the OpenSSL manual, section 7SSL πŸ’–

okay so bestie, welcome to the CAST section of the OpenSSL manual (EVP_CIPHER-CAST, manual page 7SSL, OpenSSL). Pull up a chair, we're gonna have a lil chat about everyone's favorite legacy cipher family πŸŽ€


✨ NAME ✨

EVP_CIPHER-CAST β€” the CAST EVP_CIPHER implementations. that's it, that's the whole name, and honestly? iconic πŸ‘‘


🌸 DESCRIPTION 🌸

This here is support for CAST symmetric encryption, done through the EVP_CIPHER API. so like, same API as everything else, just CAST-flavored πŸ¦‹

πŸ”₯ Algorithm Names πŸ”₯

The following algorithms are available in the legacy provider. yes, the legacy provider β€” she's vintage, she's in the back of the closet, she still slays πŸ’…

  • "CAST-128-CBC", "CAST-192-CBC" and "CAST-256-CBC"
  • "CAST-128-CFB", "CAST-192-CFB", "CAST-256-CFB"
  • "CAST-128-ECB", "CAST-192-ECB" and "CAST-256-ECB"
  • "CAST-192-OFB", "CAST-128-OFB" and "CAST-256-OFB"

look at all 128s, 192s and 256s just vibing together in every mode, no cap 🌈

⭐ Parameters ⭐

This implementation supports the parameters described in "PARAMETERS" in EVP_EncryptInit(3). that's the whole tea β€” go read that page for the deets, i'm not gonna reinvent the wheel here 🫢


πŸ’œ SEE ALSO πŸ’œ

provider-cipher(7), OSSL_PROVIDER-legacy(7)

the way that these two are the supportive besties you need to actually understand the provider situation... obsessed 😭


Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.

bestie respect the license fr fr, it's giving main character legal energy and you cannot skip it πŸ™ˆ

and that's the page!! this was OpenSSL 4.0.3, dated 2026-09-29, from the EVP_CIPHER-CAST(7SSL) manual. tysm for reading, ily, go encrypt something cute πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘πŸŒˆπŸ’€πŸ“πŸ§š

πŸ“¦ where this page comes from