Class ExampleScenario4
Object
ExampleScenario4
Scenario 4 Example:
- Generate an RSA-2048 key
- Encrypt a file (streaming) with RSA
- Generate an ML-KEM-1024 key (post-quantum KEM)
- Re-encrypt the file (streaming) from RSA to ML-KEM-1024
- Decrypt using ML-KEM-1024 (streaming)
This scenario demonstrates how to take data encrypted with one asymmetric key (RSA-2048) and re-encrypt it to a new key (ML-KEM-1024), using streaming mode for both the initial encryption and the re-encryption flow.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExampleScenario4
public ExampleScenario4()
-
-
Method Details
-
main
Entry point for executing Scenario 4.- Parameters:
args
- Not used.
-