rust: Add support for decrypting encrypted SPSS files.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 10 Jul 2025 00:48:13 +0000 (17:48 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 11 Jul 2025 23:47:53 +0000 (16:47 -0700)
commit73b0ae791c31cdee17a3ec1e7a73e2d5eb17e816
tree1188bb528d5d8c807f66dfa63406722052fa8ab3
parent0d11ea89d5824db4876cf03804ffe5b0840ee7d7
rust: Add support for decrypting encrypted SPSS files.

Also, fix a bug in the C implementation of password decoding.
15 files changed:
rust/Cargo.lock
rust/pspp/Cargo.toml
rust/pspp/src/crypto/mod.rs [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test-encrypted.sav [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test-encrypted.sps [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test-encrypted.spv [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test.sav [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test.sps [new file with mode: 0644]
rust/pspp/src/crypto/testdata/test.spv [new file with mode: 0644]
rust/pspp/src/lib.rs
rust/pspp/src/main.rs
rust/pspp/src/sys/test.rs
rust/pspp/src/sys/testdata/test-encrypted.expected [new file with mode: 0644]
rust/pspp/src/sys/testdata/test-encrypted.sav [new file with mode: 0644]
src/data/encrypted-file.c