Working on RSA and API for terminal.