{"id":68664,"library":"cfb8","title":"CFB8","description":"Implements the Cipher Feedback with eight bit feedback (CFB-8) block cipher mode of operation.","status":"active","version":"0.9.1","language":"rust","source_language":null,"source_url":"https://github.com/RustCrypto/block-modes","tags":["crypto","cipher","block-mode","cfb"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncfb8 = \"0.9.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cfb8","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Cfb8","correct":"use cfb8::Cfb8;"}],"quickstart":{"code":"use cfb8::Cfb8;\nuse aes::Aes128;\nuse cipher::{KeyIvInit, StreamCipher};\n\nfn main() {\n    let key = [0u8; 16];\n    let iv = [0u8; 16];\n    let mut cipher = Cfb8::<Aes128>::new(&key.into(), &iv.into());\n    let mut data = [0u8; 16];\n    cipher.apply_keystream(&mut data);\n    println!(\"Encrypted: {:?}\", data);\n}","lang":"rust","description":"Encrypts data using AES-128 in CFB-8 mode."},"warnings":[{"fix":"Add `aes` crate to Cargo.toml.","message":"Requires a block cipher implementation (e.g., `aes`) as a dependency.","severity":"gotcha","affected_versions":">=0.9.0"}],"env_vars":null,"search_vec":"'-8':11 'bit':8 'block':12,20 'block-mod':19 'cfb':10,22 'cfb8':1 'cipher':4,13,18 'crypto':17 'eight':7 'feedback':5,9 'implement':2 'mode':14,21 'oper':16","created_at":"2026-06-17T17:52:37.004193+00:00","updated_at":"2026-06-17T17:52:37.004193+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/RustCrypto/block-modes","github":"https://github.com/RustCrypto/block-modes","docs":"https://docs.rs/cfb8/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}