Class GenerateEncryptedArgumentsForDemo

java.lang.Object
net.finmath.decryptionoracle.execution.cli.GenerateEncryptedArgumentsForDemo

public class GenerateEncryptedArgumentsForDemo extends Object
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 Details

    • GenerateEncryptedArgumentsForDemo

      public GenerateEncryptedArgumentsForDemo()
  • Method Details

    • main

      public static void main(String[] args)

      main.

      Parameters:
      args - an array of String objects