Research Article

Portable Implementation of Postquantum Encryption Schemes and Key Exchange Protocols on JavaScript-Enabled Platforms

Pseudocode 3

//...
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class MainActivity extends Activity
private WebView webview;
@Override
protected void onCreat (Bundle savedInstanceState)
  super.onCreate(savedInstanceState);
  webview = new WebView(this);
  webview.getSettings()
   .setJavaScriptEnabled(true);
  webview.loadUrl
   ("file:///android_asset/lizard.html");
setContentView(webview);
//...