This is a proof of concept for establishing an instant end-to-end encrypted two party chat.
The proof-of-concept code separates each player into individual JavaScript Objects. Communication is simulated via JavaScript function calls passing only string data. The crypto in use is from libsodium compiled to WebAssembly.
Bob is deaf and would like to communicate with Alice who is hearing-enabled. Bob is unable to find an interpreter.
A diagram is available to illustrate the communication process and cryptographic implementation.
Send the link to Alice either by QR Code or Alice can manually type the URL.
1 If this proves a viable solution it would be my intent to include a free scratch pad feature to the instant-chat app for use in the rare cases when scanning or transcribing a link is not feasible. A scratch pad on the phone is a good fallback when the chat features are not available for any reason.