Package net.finmath.decryptionoracle.keys.demo.base


package net.finmath.decryptionoracle.keys.demo.base
Base classes for demos (handling connection, etc.).
Author:
Christian Fries
  • Classes
    Class
    Description
    Triggers a test request by calling: DummyDecryptionOracleCallback.requestDecrypt(oracle, id, encryptedKey, receiver, txNote) It generates a fresh random key (32 bytes), encrypts it with the oracle's RSA public key using OAEP(SHA-256), base64-encodes the ciphertext, and passes that as the encryptedKey.