Package net.finmath.decryptionoracle.keys.demo
package net.finmath.decryptionoracle.keys.demo
Classes and Programs that conveniently allow a test of the decryption oracle.
- Author:
- Christian Fries
-
ClassesClassDescriptionDeployForDemo class.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.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.TriggerFullCyclePayable class.