Questions Uploads
secret key technology
/in Questions Uploads /by adminSuppose Alice, Bob, and Carol want to use secret key technology to authenticate each other. If they all used the same secret key, K, then Bob could impersonate Carol to Alice (actually any of the three could impersonate the other to the third). Suppose instead that each had their own secret key; so Alice uses KA, Bob uses KB, and Carol uses KC. This means that each one, to prove his or her identity, responds to a challenge with a function of his or her secret key. Is this more secure than having them all use the same secret key? What does Alice need to know in order to verify Carol’s answer to Alice’s challenge?
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
hacker
/in Questions Uploads /by admininput output function
/in Questions Uploads /by adminI need help with some code that I am working on.
#include <iostream>//header file for input output function
#include<cstdlib>
using namespace std;//it tells the compiler to link std namesapce
int main()
{//main function
int input,first_die,sec_die,total,count=0;//variable declaration and assignment
const int LOW = 1;
const int HIGH = 6;
cout<<“Enter the number between 2 to 12 :”;
cin>>input;//key board inputting
if(input<2 || input>12)
{
cout<<“Please enter the number between 2 to 12″<<endl;
exit(0);
}
do{//do while lop
first_die = rand() % (HIGH – LOW + 1) + LOW;//rand function to get random values
sec_die = rand() % (HIGH – LOW + 1) + LOW;
cout<<“First die value”<<first_die<<endl;
cout<<“second die value”<<sec_die<<endl;
total=first_die+sec_die;//total of 1st die and sec die
cout<<“total=”<<total<<endl;
count++;
}while(total!=input);
cout<<“no of tries=”<<count<<endl;
return 0;
}
I keep getting errors for undefined code.
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
About Us
![]()
Since 2010, we have offered professional writing services to clients all over the world.
Over the years, our writers have gained solid experience in all academic disciplines, giving them a competitive edge to provide only first-rate academic papers.
![]()
QUICK LINKS
Contact Us
For any questions, feedback, or comments, we have an ethical customer support team that is always waiting on the line for your inquiries.
Talk to us
support@academicheroes.com
Call us: +1 (564) -222 6836