├── .cargo ├── audit.toml └── config.toml ├── .github ├── dependabot.yml └── workflows │ ├── crypto_box.yml │ ├── crypto_kx.yml │ ├── crypto_secretbox.yml │ ├── crypto_secretstream.yml │ ├── security-audit.yml │ └── workspace.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── SECURITY.md ├── crypto_box ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── src │ ├── lib.rs │ ├── public_key.rs │ └── secret_key.rs └── tests │ └── lib.rs ├── crypto_kx ├── CHANGELOG.md ├── Cargo.toml ├── README.md ├── src │ ├── errors.rs │ ├── keypair.rs │ ├── keys.rs │ ├── keys │ │ ├── public.rs │ │ ├── secret.rs │ │ └── session.rs │ └── lib.rs └── tests │ └── lib.rs ├── crypto_secretbox ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── src │ └── lib.rs └── tests │ └── lib.rs ├── crypto_secretstream ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── src │ ├── errors.rs │ ├── header.rs │ ├── key.rs │ ├── lib.rs │ ├── nonce.rs │ ├── stream.rs │ └── tags.rs └── tests │ └── lib.rs └── test-vector-gen ├── Cargo.toml └── src ├── crypto_box.rs ├── crypto_kx.rs ├── crypto_secretbox.rs ├── crypto_secretstream.rs └── main.rs /.cargo/audit.toml: -------------------------------------------------------------------------------- 1 | [advisories] 2 | ignore = ["RUSTSEC-2024-0436"] 3 | -------------------------------------------------------------------------------- /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/crypto_box.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/crypto_box.yml -------------------------------------------------------------------------------- /.github/workflows/crypto_kx.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/crypto_kx.yml -------------------------------------------------------------------------------- /.github/workflows/crypto_secretbox.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/crypto_secretbox.yml -------------------------------------------------------------------------------- /.github/workflows/crypto_secretstream.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/crypto_secretstream.yml -------------------------------------------------------------------------------- /.github/workflows/security-audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/security-audit.yml -------------------------------------------------------------------------------- /.github/workflows/workspace.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/.github/workflows/workspace.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/SECURITY.md -------------------------------------------------------------------------------- /crypto_box/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/CHANGELOG.md -------------------------------------------------------------------------------- /crypto_box/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/Cargo.toml -------------------------------------------------------------------------------- /crypto_box/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/LICENSE-APACHE -------------------------------------------------------------------------------- /crypto_box/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/LICENSE-MIT -------------------------------------------------------------------------------- /crypto_box/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/README.md -------------------------------------------------------------------------------- /crypto_box/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/src/lib.rs -------------------------------------------------------------------------------- /crypto_box/src/public_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/src/public_key.rs -------------------------------------------------------------------------------- /crypto_box/src/secret_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/src/secret_key.rs -------------------------------------------------------------------------------- /crypto_box/tests/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_box/tests/lib.rs -------------------------------------------------------------------------------- /crypto_kx/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/CHANGELOG.md -------------------------------------------------------------------------------- /crypto_kx/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/Cargo.toml -------------------------------------------------------------------------------- /crypto_kx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/README.md -------------------------------------------------------------------------------- /crypto_kx/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/errors.rs -------------------------------------------------------------------------------- /crypto_kx/src/keypair.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/keypair.rs -------------------------------------------------------------------------------- /crypto_kx/src/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/keys.rs -------------------------------------------------------------------------------- /crypto_kx/src/keys/public.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/keys/public.rs -------------------------------------------------------------------------------- /crypto_kx/src/keys/secret.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/keys/secret.rs -------------------------------------------------------------------------------- /crypto_kx/src/keys/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/keys/session.rs -------------------------------------------------------------------------------- /crypto_kx/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/src/lib.rs -------------------------------------------------------------------------------- /crypto_kx/tests/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_kx/tests/lib.rs -------------------------------------------------------------------------------- /crypto_secretbox/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/CHANGELOG.md -------------------------------------------------------------------------------- /crypto_secretbox/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/Cargo.toml -------------------------------------------------------------------------------- /crypto_secretbox/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/LICENSE-APACHE -------------------------------------------------------------------------------- /crypto_secretbox/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/LICENSE-MIT -------------------------------------------------------------------------------- /crypto_secretbox/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/README.md -------------------------------------------------------------------------------- /crypto_secretbox/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/src/lib.rs -------------------------------------------------------------------------------- /crypto_secretbox/tests/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretbox/tests/lib.rs -------------------------------------------------------------------------------- /crypto_secretstream/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/CHANGELOG.md -------------------------------------------------------------------------------- /crypto_secretstream/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/Cargo.toml -------------------------------------------------------------------------------- /crypto_secretstream/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/LICENSE-APACHE -------------------------------------------------------------------------------- /crypto_secretstream/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/LICENSE-MIT -------------------------------------------------------------------------------- /crypto_secretstream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/README.md -------------------------------------------------------------------------------- /crypto_secretstream/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/errors.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/header.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/key.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/lib.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/nonce.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/nonce.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/stream.rs -------------------------------------------------------------------------------- /crypto_secretstream/src/tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/src/tags.rs -------------------------------------------------------------------------------- /crypto_secretstream/tests/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/crypto_secretstream/tests/lib.rs -------------------------------------------------------------------------------- /test-vector-gen/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/Cargo.toml -------------------------------------------------------------------------------- /test-vector-gen/src/crypto_box.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/src/crypto_box.rs -------------------------------------------------------------------------------- /test-vector-gen/src/crypto_kx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/src/crypto_kx.rs -------------------------------------------------------------------------------- /test-vector-gen/src/crypto_secretbox.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/src/crypto_secretbox.rs -------------------------------------------------------------------------------- /test-vector-gen/src/crypto_secretstream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/src/crypto_secretstream.rs -------------------------------------------------------------------------------- /test-vector-gen/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustCrypto/nacl-compat/HEAD/test-vector-gen/src/main.rs --------------------------------------------------------------------------------