Class ExampleScenario4

Object
ExampleScenario4

public final class ExampleScenario4 extends Object
Scenario 4 – Streamed Re-encryption (RSA-2048 → ML-KEM-1024)

Demonstrates:

  1. Generating an RSA-2048 key
  2. Streaming encryption under the RSA key
  3. Generating an ML-KEM-1024 key
  4. Streaming in-service re-encryption from RSA → ML-KEM
  5. Streaming decryption under the ML-KEM key
  6. Verifying the round-trip plaintext matches the original

All artifacts are written under temp_files/.

  • Constructor Details

    • ExampleScenario4

      public ExampleScenario4()
  • Method Details

    • main

      public static void main(String[] args)