<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| #!/usr/bin/env ruby | |
| # gem install active_support | |
| require 'active_support/inflector' | |
| require 'active_support/core_ext/string' | |
| # gem install webrick (only ruby3) | |
| require 'webrick' | |
| # gem install mechanize |
| sudo apt-get update | |
| sudo apt-get install -y apt-transport-https ca-certificates | |
| sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list | |
| sudo apt-get update | |
| sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
| sudo apt-get install -y docker-engine | |
| sudo service docker start | |
| sudo docker pull php:5.6-apache |
| // The following code is from http://www.academicpub.org/PaperInfo.aspx?PaperID=14496 . | |
| import java.math.BigInteger; | |
| import java.security.*; | |
| import java.security.spec.*; | |
| import javax.crypto.KeyAgreement; | |
| public class ECCKeyAgreement { | |
| public static void main(String[] args) throws Exception { | |
| KeyPairGenerator kpg; | |
| kpg = KeyPairGenerator.getInstance("EC","SunEC"); |