This project contains code encrypts and decrypts a suite unstructured data. This validates the Encryption SDK's cross compatability between major versions of the Encryption SDK and runtimes.
-
Dafny 4.9.0: https://github.com/dafny-lang/dafny
The code that executes the test vectors is written in Dafny. You must install the Dafny runtime to compile the Dafny tests into Java.
-
A .NET 6.0 TargetFramework or newer development environment
- Start in the root
./TestVectors
directory - Run
make transpile_net
- Run
make test_net_mac_intel
if running on a MacOS environment ormake test_net
if running on a Windows or Linux environment.
- Start in the root
./TestVectors
directory - Run
make polymorph_rust
- Run
make transpile_rust
- Run
make test_rust
Note: If you run into a stack overflow error while running make test_rust
, run export RUST_MIN_STACK=104857600
, and re-run make test_rust
.
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.