Class InboundGatewayProcessor


  • class InboundGatewayProcessor
    extends HopProcessor
    Override the hop processor to seed the message with a random IV.
    • Method Detail

      • process

        public void process​(byte[] orig,
                            int offset,
                            int length)
        Since we are the inbound gateway, use the IV given to us as the first 16 bytes, ignore the 'prev' hop, and encrypt the message like every other participant.