Class GenerateEncryptedArgumentsForDemo
java.lang.Object
net.finmath.decryptionoracle.execution.cli.GenerateEncryptedArgumentsForDemo
Tiny CLI to generate EncryptedHashedArguments for CallDecryptionOracleTestContract.
Usage:
java -cp ... net.finmath.decryptionoracle.tools.GenerateEncArgs \
<targetContractAddress> <arg1> "<arg2>" <arg3>
Example:
java -cp ... GenerateEncArgs 0x1234... 42 "Hello" 1337
Output:
argsPlain = 0x...
argsHash = 0x...
argsEncoded = 0x... (use this as argsEncrypted)
- Author:
- Christian Fries
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GenerateEncryptedArgumentsForDemo
public GenerateEncryptedArgumentsForDemo()
-
-
Method Details
-
main
main.
- Parameters:
args- an array ofStringobjects
-