{"crate":{"id":"module-lattice","name":"module-lattice","updated_at":"2026-10-31T20:51:07.407352Z","versions":[3669741,2378164,2320278,2208633,2171949,2171168,2001742,2001696,1995172,1983962,1978365],"keywords":["crypto","kyber","lattice","post-quantum"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2026-01-27T23:15:06.174800Z","downloads":11734206,"recent_downloads":8585813,"default_version":"0.2.4","num_versions":11,"yanked":false,"max_version":"0.2.4","newest_version":"0.2.4","max_stable_version":"0.2.4","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","links":{"version_downloads":"/api/v1/crates/module-lattice/downloads","versions":null,"owners":"/api/v1/crates/module-lattice/owners","owner_team":"/api/v1/crates/module-lattice/owner_team","owner_user":"/api/v1/crates/module-lattice/owner_user","reverse_dependencies":"/api/v1/crates/module-lattice/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":3669741,"crate":"module-lattice","num":"0.2.4","dl_path":"/api/v1/crates/module-lattice/0.2.4/download","readme_path":"/api/v1/crates/module-lattice/0.2.4/readme","updated_at":"2026-10-31T20:51:07.407352Z","created_at":"2026-10-31T20:51:07.407352Z","downloads":321586,"features":{"alloc":[],"ctutils":[],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.4/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.4/downloads","authors":"/api/v1/crates/module-lattice/0.2.4/authors"},"crate_size":19285,"published_by":null,"audit_actions":[],"checksum":"c4a1e412c8ee83a1c678f427806219c49c96b2511b9f07497514f0e43fb26155","rust_version":"1.87","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"41240795548","sha":"d1f3b0897b220c1cc4ab203c53465416c59a903c"},"linecounts":{"languages":{"Rust":{"code_lines":676,"comment_lines":9,"files":5}},"total_code_lines":676,"total_comment_lines":9}},{"id":2378164,"crate":"module-lattice","num":"0.2.3","dl_path":"/api/v1/crates/module-lattice/0.2.3/download","readme_path":"/api/v1/crates/module-lattice/0.2.3/readme","updated_at":"2026-05-10T18:53:28.335875Z","created_at":"2026-05-10T18:53:28.335875Z","downloads":10309640,"features":{"alloc":[],"ctutils":["dep:ctutils","array/ctutils"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.3/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.3/downloads","authors":"/api/v1/crates/module-lattice/0.2.3/authors"},"crate_size":21697,"published_by":null,"audit_actions":[],"checksum":"0c61b87c9683ab7cb1c6871d261ad5479b6b10ceb52c4352aaca3b5d35a8febe","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"25636937944","sha":"ac34c85db783520bda5a8fbe8e7b694c7c72d6fe"},"linecounts":{"languages":{"Rust":{"code_lines":677,"comment_lines":14,"files":5}},"total_code_lines":677,"total_comment_lines":14}},{"id":2320278,"crate":"module-lattice","num":"0.2.2","dl_path":"/api/v1/crates/module-lattice/0.2.2/download","readme_path":"/api/v1/crates/module-lattice/0.2.2/readme","updated_at":"2026-04-28T15:08:02.763827Z","created_at":"2026-04-28T15:08:02.763827Z","downloads":403216,"features":{"ctutils":["dep:ctutils","array/ctutils"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.2/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.2/downloads","authors":"/api/v1/crates/module-lattice/0.2.2/authors"},"crate_size":21145,"published_by":null,"audit_actions":[],"checksum":"dc7c90d33a0dac244570c26461d761ffaeadb3bfc2b17cc625ae2185cafdffae","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"25060048413","sha":"2e94fb292eec8d497fb3ad2e7e21656d4f389158"},"linecounts":{"languages":{"Rust":{"code_lines":629,"comment_lines":14,"files":4}},"total_code_lines":629,"total_comment_lines":14}},{"id":2208633,"crate":"module-lattice","num":"0.2.1","dl_path":"/api/v1/crates/module-lattice/0.2.1/download","readme_path":"/api/v1/crates/module-lattice/0.2.1/readme","updated_at":"2026-04-03T21:05:19.514274Z","created_at":"2026-04-03T21:05:19.514274Z","downloads":373837,"features":{"ctutils":["dep:ctutils","array/ctutils"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.1/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.1/downloads","authors":"/api/v1/crates/module-lattice/0.2.1/authors"},"crate_size":20825,"published_by":null,"audit_actions":[],"checksum":"164eb3faeaecbd14b0b2a917c1b4d0c035097a9c559b0bed85c2cdd032bc8faa","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"23962179922","sha":"5b84cfb1c94ef4eeecd77d3281d18833d095978b"},"linecounts":{"languages":{"Rust":{"code_lines":628,"comment_lines":7,"files":4}},"total_code_lines":628,"total_comment_lines":7}},{"id":2171949,"crate":"module-lattice","num":"0.2.0","dl_path":"/api/v1/crates/module-lattice/0.2.0/download","readme_path":"/api/v1/crates/module-lattice/0.2.0/readme","updated_at":"2026-03-26T17:59:55.513720Z","created_at":"2026-03-26T17:59:55.513720Z","downloads":24110,"features":{"ctutils":["dep:ctutils","array/ctutils"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.0/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.0/downloads","authors":"/api/v1/crates/module-lattice/0.2.0/authors"},"crate_size":20709,"published_by":null,"audit_actions":[],"checksum":"1cbdc2ac6ead7d0889a5d96e70b7f11a8812702a100ca7c65c5c71fdf076e182","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"23610034979","sha":"c94d5497ec80fb5da84a805429c3f1b017ce1569"},"linecounts":{"languages":{"Rust":{"code_lines":595,"comment_lines":7,"files":4}},"total_code_lines":595,"total_comment_lines":7}},{"id":2171168,"crate":"module-lattice","num":"0.2.0-rc.0","dl_path":"/api/v1/crates/module-lattice/0.2.0-rc.0/download","readme_path":"/api/v1/crates/module-lattice/0.2.0-rc.0/readme","updated_at":"2026-03-26T14:28:34.861902Z","created_at":"2026-03-26T14:28:34.861902Z","downloads":120,"features":{"ctutils":["dep:ctutils","array/ctutils"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.2.0-rc.0/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.2.0-rc.0/downloads","authors":"/api/v1/crates/module-lattice/0.2.0-rc.0/authors"},"crate_size":20633,"published_by":null,"audit_actions":[],"checksum":"217a321cd6f89254aa8c6a5d4412547370121618d557e6537121f8bda21df5ae","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with\ndegree-256 polynomials over a prime-order field, vectors of such polynomials, and NTT polynomials\nand vectors, as well as packing of polynomials into coefficients with a specified number of bits\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"23599731785","sha":"cd3ca11a9c8e98ba25518d2e3d2a5f1b86d79cb0"},"linecounts":{"languages":{"Rust":{"code_lines":595,"comment_lines":7,"files":4}},"total_code_lines":595,"total_comment_lines":7}},{"id":2001742,"crate":"module-lattice","num":"0.1.0","dl_path":"/api/v1/crates/module-lattice/0.1.0/download","readme_path":"/api/v1/crates/module-lattice/0.1.0/readme","updated_at":"2026-02-05T17:34:53.635376Z","created_at":"2026-02-05T17:34:53.635376Z","downloads":296354,"features":{"subtle":["dep:subtle","array/subtle"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.1.0/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.1.0/downloads","authors":"/api/v1/crates/module-lattice/0.1.0/authors"},"crate_size":20533,"published_by":null,"audit_actions":[],"checksum":"6dfecc750073acc09af2f8899b2342d520d570392ba1c3aed53eeb0d84ca4103","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with degree-256 polynomials over\na prime-order field, vectors of such polynomials, and NTT polynomials / vectors, as well as packing of polynomials into\ncoefficients with a specified number of bits.\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"21721861659","sha":"0f9c7adad9efdd3c4e4d1076fac4501cd963334e"},"linecounts":{"languages":{"Rust":{"code_lines":587,"comment_lines":7,"files":4}},"total_code_lines":587,"total_comment_lines":7}},{"id":2001696,"crate":"module-lattice","num":"0.1.0-rc.2","dl_path":"/api/v1/crates/module-lattice/0.1.0-rc.2/download","readme_path":"/api/v1/crates/module-lattice/0.1.0-rc.2/readme","updated_at":"2026-02-05T17:25:33.773464Z","created_at":"2026-02-05T17:25:33.773464Z","downloads":21,"features":{"subtle":["dep:subtle","array/subtle"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.1.0-rc.2/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.1.0-rc.2/downloads","authors":"/api/v1/crates/module-lattice/0.1.0-rc.2/authors"},"crate_size":20520,"published_by":null,"audit_actions":[],"checksum":"ef4f532722404fc867f7dde7b20f404c53347f4e8e8035ad86e1453c7c5ea2e8","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with degree-256 polynomials over\na prime-order field, vectors of such polynomials, and NTT polynomials / vectors, as well as packing of polynomials into\ncoefficients with a specified number of bits.\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":{"provider":"github","repository":"RustCrypto/KEMs","run_id":"21721561917","sha":"a760659f42b374c0281c1f9b2b8a7658b979a2f9"},"linecounts":{"languages":{"Rust":{"code_lines":587,"comment_lines":7,"files":4}},"total_code_lines":587,"total_comment_lines":7}},{"id":1995172,"crate":"module-lattice","num":"0.1.0-rc.1","dl_path":"/api/v1/crates/module-lattice/0.1.0-rc.1/download","readme_path":"/api/v1/crates/module-lattice/0.1.0-rc.1/readme","updated_at":"2026-02-03T16:04:25.943556Z","created_at":"2026-02-03T16:04:25.943556Z","downloads":2158,"features":{"subtle":["dep:subtle","array/subtle"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.1.0-rc.1/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.1.0-rc.1/downloads","authors":"/api/v1/crates/module-lattice/0.1.0-rc.1/authors"},"crate_size":20637,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-02-03T16:04:25.943556Z"}],"checksum":"42f053ae0c0c619f9d9e145edd3a06785e21d340a28967f4ebbdf60df88ee548","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with degree-256 polynomials over\na prime-order field, vectors of such polynomials, and NTT polynomials / vectors, as well as packing of polynomials into\ncoefficients with a specified number of bits.\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":589,"comment_lines":8,"files":4}},"total_code_lines":589,"total_comment_lines":8}},{"id":1983962,"crate":"module-lattice","num":"0.1.0-rc.0","dl_path":"/api/v1/crates/module-lattice/0.1.0-rc.0/download","readme_path":"/api/v1/crates/module-lattice/0.1.0-rc.0/readme","updated_at":"2026-01-29T23:32:05.515790Z","created_at":"2026-01-29T23:32:05.515790Z","downloads":3115,"features":{"subtle":["dep:subtle","array/subtle"],"zeroize":["array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.1.0-rc.0/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.1.0-rc.0/downloads","authors":"/api/v1/crates/module-lattice/0.1.0-rc.0/authors"},"crate_size":20575,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-29T23:32:05.515790Z"}],"checksum":"4b58fe0672f0701f5c1180c3e5c3d00b08dd9b207e545a38f3174d5363e2ae9e","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with degree-256 polynomials over\na prime-order field, vectors of such polynomials, and NTT polynomials / vectors, as well as packing of polynomials into\ncoefficients with a specified number of bits.\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":678,"comment_lines":23,"files":4}},"total_code_lines":678,"total_comment_lines":23}},{"id":1978365,"crate":"module-lattice","num":"0.1.0-pre.0","dl_path":"/api/v1/crates/module-lattice/0.1.0-pre.0/download","readme_path":"/api/v1/crates/module-lattice/0.1.0-pre.0/readme","updated_at":"2026-01-27T23:15:06.174800Z","created_at":"2026-01-27T23:15:06.174800Z","downloads":49,"features":{"zeroize":["hybrid-array/zeroize","dep:zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/module-lattice/0.1.0-pre.0/dependencies","version_downloads":"/api/v1/crates/module-lattice/0.1.0-pre.0/downloads","authors":"/api/v1/crates/module-lattice/0.1.0-pre.0/authors"},"crate_size":12795,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-27T23:15:06.174800Z"}],"checksum":"f95b02843c605c5c6d4747f07a1171645be22ce1fb42629e2cf0c5ba199ed640","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Functionality shared between the `ml-kem` and `ml-dsa` crates, including linear algebra with degree-256 polynomials over\na prime-order field, vectors of such polynomials, and NTT polynomials / vectors, as well as packing of polynomials into\ncoefficients with a specified number of bits.\n","homepage":"https://github.com/RustCrypto/KEMs/tree/master/module-lattice","documentation":null,"repository":"https://github.com/RustCrypto/KEMs","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":626,"comment_lines":27,"files":4}},"total_code_lines":626,"total_comment_lines":27}}],"keywords":[{"id":"crypto","keyword":"crypto","created_at":"2014-11-24T02:30:36.413823Z","crates_cnt":2717},{"id":"kyber","keyword":"kyber","created_at":"2021-05-24T02:42:45.511800Z","crates_cnt":45},{"id":"lattice","keyword":"lattice","created_at":"2017-09-12T05:56:41.946162Z","crates_cnt":106},{"id":"post-quantum","keyword":"post-quantum","created_at":"2016-09-27T01:58:37.510237Z","crates_cnt":618}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":8600},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":14860}]}