Class ExampleScenario1
Object
ExampleScenario1
Scenario 1 Example
Demonstrates a full post-quantum lifecycle using AnkaSecureSdk
:
- Generate ML-KEM key pair.
- Export key metadata to JSON.
- Stream-encrypt a plaintext file.
- Stream-decrypt the ciphertext.
- Validate that the decrypted text matches the original.
The CLI must be initialised with encrypted credentials; otherwise this scenario aborts at start-up.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExampleScenario1
public ExampleScenario1()
-
-
Method Details
-
main
-