I encrypt a contract with my private key and send you the encrypted file. You successfully decrypt it with my corresponding public key, which we assume is correct and publically available to all. Also assume that my private key is not known by anybody other than me.
a. only you can read the contract
b. you can be certain that the contract came from me
c. the contract may have been modified by a bad-guy who modified the encrypted text
d. the contract can be trusted if and only if nobody other than you knows your private key
This is asymmetric encryption.
I encrypt a contract with my private key and send you the encrypted file. You successfully decrypt it with my corresponding public key.
Then you can be certain that the contract came from me.

Option b
I encrypt a contract with my private key and send you the encrypted file. You successfully...
Bob is trying to send an encrypted message to Alice using the Asymmetric Key approach. Which key will Bob use to encrypt the message for Alice? Alice's Private Key Bob's Public Key Alice's Public Key Bob's Private Key Alice wants to digitally sign a message so that Bob can be assured that the message came from Alice and has not been changed in transit. Which key must Alice use to encrypt the message digest? Bob's Public Key Bob's Private Key...
prime factorization. Assume that zoy wants to send a message to sam. sam generates public and private keys using RSA Encryption algorithm and publishes the public key (n=4717, e=19). zoy has a secret message M to send. Nobody knows the value of M. She encrypts the message M using the public key and sends the encrypted message C=1466 to sam. alex is an intruder who knows RSA and prime factorization well. She captures the encrypted message C=1466. She also has...
Exercise 3.2 (Symmetric and Asymmetric Encryption) t In this exercise, you will send an encrypted message from a socket client to a socket server. The message will be encrypted using AES symmetric encryption algorithm in the client. The server receives this ciphertext and decrypt it using the same symmetric key. Before communication over symmetric encryption, you need to first securely distribute the symmetric key between sender and receiver. You can use asymmetric encryption to help distribute the symmetric key. The...
The Diffie-Hellman public-key encryption algorithm is an alternative key exchange algorithm that is used by protocols such as IPSec for communicating parties to agree on a shared key. The DH algorithm makes use of a large prime number p and another large number, g that is less than p. Both p and g are made public (so that an attacker would know them). In DH, Alice and Bob each independently choose secret keys, ?? and ??, respectively. Alice then computes...
Write code for RSA encryption package rsa; import java.util.ArrayList; import java.util.Random; import java.util.Scanner; public class RSA { private BigInteger phi; private BigInteger e; private BigInteger d; private BigInteger num; public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); System.out.println("Enter the message you would like to encode, using any ASCII characters: "); String input = keyboard.nextLine(); int[] ASCIIvalues = new int[input.length()]; for (int i = 0; i < input.length(); i++) { ASCIIvalues[i] = input.charAt(i); } String ASCIInumbers...
Consider a system where a data files (F_i, and i denotes the file ID) is distributed over a cloud. A data file is generated by an author (AU_k, and k, denotes the author ID) and stored on a distribution server (DS). Only authorized users (US_1, and denotes the user ID) previously registered on the system using their private keys (KPR_1) are allowed to download the data. Users' public certificates (KPU_1) and revocation lists (CRL) are available on a trusted Certificate...
This project will use The Vigenere Cipher to encrypt passwords. Simple letter substitution ciphers are ones in which one letter is substituted for another. Although their output looks impossible to read, they are easy to break because the relative frequencies of English letters are known. The Vigenere cipher improves upon this. They require a key word and the plain text to be encrypted. Create a Java application that uses: decision constructs looping constructs basic operations on an ArrayList of objects...
To my friendly student tax preparer: Hello, my name is Shady
Slim. I understand you are going to help me figure out my gross
income for the year . . . whatever that means. It’s been a busy
year and I’m a busy man, so let me give you the lowdown on my life
and you can do your thing. I was unemployed at the beginning of the
year and got $2,000 in unemployment compensation. I later got a job...
To my friendly student tax preparer: Hello, my name is Shady
Slim. I understand you are going to help me figure out my gross
income for the year . . . whatever that means. It’s been a busy
year and I’m a busy man, so let me give you the lowdown on my life
and you can do your thing. I was unemployed at the beginning of the
year and got $2,000 in unemployment compensation. I later got a job...
Please help me write this Java program. I had posted this question before, but got an answer that was totally wrong. We are using the latest version of Java8. Thank You! -------------------------------------------------------------------------------------- Write a Java program that can successfully DECRYPT a string inputted by the user which has been encrypted using a Caesar Cipher with a unknown shift value(key). You can use brute force to do a for loop through all the 26 shift values, however, your program should only...