Class ExampleScenario16
java.lang.Object
co.ankatech.ankasecure.sdk.examples.ExampleScenario16
Scenario 16 – Utility-Stream Encryption (ML-KEM-1024)
This scenario shows how to encrypt data with a public-only ML-KEM-1024 key via the utility-stream API, producing a detached JWE. The private key never touches the client.
- Generate an ML-KEM-1024 key.
- Export its metadata (extract the Base64-encoded public key).
- Encrypt a file using only that public key.
- Since:
- 2.1.0
- Author:
- ANKATech – Security Engineering
-
Method Summary
-
Method Details
-
main
Entry-point.
-