fcrypt_pcbc_encrypt(9)
π fcrypt_pcbc_encrypt(9)
okay so this is a page from the Kernel API Manual, and bestie, we need to talk about it π«Ά
β¨ NAME β¨
fcrypt_pcbc_encrypt β encrypt your data using the FCrypt cipher in PCBC mode π₯
πΈ SYNOPSIS πΈ
void fcrypt_pcbc_encrypt (const struct fcrypt_key *key , const u8 iv[FCRYPT_BSIZE] , const void *src , void *dst , size_t nblocks );
like, that's the whole vibe. five arguments, one function, zero chill β¨
π ARGUMENTS π
keyβ the key π that's it, that's the argument, she's the key.ivβ the 8-byte initialization vector π yes, 8 bytes,FCRYPT_BSIZEif we're being fancy.srcβ the source data π where the plaintext lives.dstβ the destination data π both in-place and out-of-place are supported, so do whatever feels right, no cap.nblocksβ the number of 8-byte blocks to encrypt π’ count 'em. carefully. 8-byte blocks, bestie, not bytes.
π DESCRIPTION π
WARNING: This cipher is insecure. π¨ Not only is the 56-bit key easily brute-forced, the cipher itself is cryptographically weak and doesn't even provide the intended 56-bit security level. It effectively just acts as an obfuscation algorithm. It is supported only for backwards compatibility.
okay so first thing you need to know: this is not it. like not me recommending this cipher ever π
the 56-bit key? easily brute-forced. the cipher itself? cryptographically weak, and it doesn't even actually deliver the 56-bit security level it was supposedly going for. the way that it just... doesn't. π
so realistically it's giving obfuscation, not encryption. it's a vibe, not a security guarantee. it exists purely for backwards compatibility β like that one friend who's still using an ancient phone and honestly? we support them. periodt. π
π¦ SEE ALSO π¦
- Kernel file
./net/rxrpc/fcrypt.c fcrypt_preparekey(9)fcrypt_pcbc_decrypt(9)
iykyk π
kay that's the whole page, bestie! this one's from the ./net/rxrpc corner of the kernel, dated October 2026, and it lives in the Kernel API Manual β mwah, slay, stay safe out there and maybe don't encrypt anything important with it π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms