15,910,878 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ratika Agarwal (Top 31 by date)
Ratika Agarwal
19-Mar-12 9:01am
View
thanks.
Ratika Agarwal
19-Mar-12 4:15am
View
Deleted
please help somebody..
Ratika Agarwal
19-Mar-12 0:31am
View
My system is dual core. And I am invoking operations for exactly two cores, as given in the code. Also there is no communication overhead. Then what is the problem.
Ratika Agarwal
15-Feb-12 10:01am
View
do you have an idea that how to store a very long stream of bits of about 2^256 length in any variable??
Ratika Agarwal
15-Feb-12 4:50am
View
thanks. but I do not just want the calculated value.But I need to implement GF(2^8) multiplication for AES Mix Columns Operation. Therefore, to use GF(2^m) and to implement its code is compulsion.
Ratika Agarwal
15-Feb-12 3:00am
View
Now do you have any optimistic comments on my problem??
Ratika Agarwal
15-Feb-12 2:57am
View
I have already searched it on internet. But there is an issue. The formula given in 2-3 sources is that- the firth one is right...i.e.,
Exp have to be done after taking mod of addition.
Exp[ (Log A + Log B) Mod 255].
But Result of addition is so small that it doesn't need Mod, instead, result of Exponent is much long upto 2-4 bytes, which needs Mod.
What should be done in this case??
Ratika Agarwal
15-Feb-12 2:53am
View
I have come here to ask for help and discuss on its issues to the concerned peoples and experts, that I do not find in other sources. I request you that if you know the solution then please post here. If you do not know the solution then please do not down vote the question and let others help me.
Ratika Agarwal
15-Feb-12 1:18am
View
try what?? Try to run? Above is a formula.
Ratika Agarwal
11-Feb-12 8:08am
View
I have 2 Objects of a Class, which are accessing the same set of 4 Methods randomly, which are using the same global variable arrays of that class..
I just want to check whether values of those arrays are affected by those Method Calls or not...!!
Ratika Agarwal
11-Feb-12 8:01am
View
Thanks.But the code I have given here is just an example for the logic that I want. I want to do this operation to check my result. Because I have no other way to check that part of code.
Ratika Agarwal
9-Feb-12 3:45am
View
I need this particular operation for "Mix rows /columns operation of AES/Whirlpool algorithms" of cryptography.
Ratika Agarwal
9-Feb-12 3:30am
View
Thanks for help. But I have already searched a lot before coming to code project. I too came across this PDF, but it's not helpful.
Ratika Agarwal
9-Feb-12 3:22am
View
Yes. It is the multiplication over a Galois finite Field, but not over vandermonde.
Ratika Agarwal
9-Feb-12 3:13am
View
What is your ques?? tell me.
Ratika Agarwal
9-Feb-12 2:49am
View
A simple matrix mult.is not same as in Galois Field(2 power n). That is what I am asking here for, how to do it..
Ratika Agarwal
9-Feb-12 2:47am
View
Quote me... "You are here to ask for help or to help somebody. Not to make fun of what you don't know about."
Ratika Agarwal
9-Feb-12 2:40am
View
I think you should do a bit homework on the questions posted in forums. B'coz you may be the only one who is not able to understand some term of it. If you know the ans.then post it. Else, let others help the needy ones.
Ratika Agarwal
9-Feb-12 2:35am
View
I know matrix operations very well. But my problem is to multiply in GALOIS FIELD(2 power n).
Ratika Agarwal
9-Feb-12 2:33am
View
I don't need a language specific answer. I just want its logic and idea. It is a part of advance Mathematics, that's why I have tagged is as mathematics too.
Ratika Agarwal
5-Feb-12 13:07pm
View
thanks for the idea of 0x.
Ratika Agarwal
3-Jan-12 12:39pm
View
please do help somebody..
Ratika Agarwal
3-Jan-12 7:34am
View
yes I had..but it contains only setups of SHA1, not for Whirlpool.
Ratika Agarwal
2-Jan-12 14:33pm
View
i have already tried from first one. but it is not worth.
Ratika Agarwal
24-Sep-11 11:09am
View
anybody please answer
Ratika Agarwal
22-Sep-11 15:14pm
View
thanks
Ratika Agarwal
22-Sep-11 15:14pm
View
Now check the following code.
There is change only in parallel version loop. But then also the time concept is opposite.
int[,] a = { { 3, 1, 2 }, { 5, 4, 6 }, { 2, 5, 4 }, { 5, 9, 1 } };
var sw = Stopwatch.StartNew();
int[] t = new int[4];
/**********************Parallel code START of Finding largest in 2-d MATRIX***********
Parallel.For(0, 4, (int i) =>
{
t[i] = a[i, 0];
for (int j = 1; j < 3; j++)
{
if (t[i] < a[i,j])
{
t[i] = a[i,j];
}
}
Console.WriteLine("Largest no.t["+i+"] is = " + t[i]);
}
);
int x = t[0];
for (int j = 1; j < t.Length; j++)
{
if (x < t[j])
{
x = t[j];
}
}
Console.WriteLine("Largest no. = " + x);
********************END of Finding largest in 2-d MATRIX*******************/
/***************Sequentially Finding largest in 2-d MATRIX***/
int i;
for (i = 0; i < 4; i++)
{
t[i] = a[i, 0];
for (int j = 1; j < 3; j++)
{
if (t[i] < a[i, j])
{
t[i] = a[i, j];
}
}
Console.WriteLine("Largest no.t["+i+"] is = " + t[i]);
}
int x = t[0];
for (int j = 1; j < t.Length; j++)
{
if (x < t[j])
{
x = t[j];
}
}
Console.WriteLine("Largest element = " + x);
TimeSpan s = sw.Elapsed; // For calculation
Console.WriteLine("total time = " + s); // of timespan
Console.ReadLine();
Ratika Agarwal
22-Sep-11 14:14pm
View
ok. thanks.
Ratika Agarwal
18-Sep-11 4:47am
View
yess
Ratika Agarwal
17-Sep-11 13:12pm
View
Don't take it wrong, but......
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Ratika Agarwal
17-Sep-11 11:01am
View
yess..I too want to do on my own.
I have decided to parallelize an existing sequential algo which is not yet parallelized by anybody.
For eg., Advanced Encryption Standard Algorithm has already been parallelized.
Similarly I am just asking for any such algo. I'm not asking about how to implement the total project.
If you have any idea, then you can share it here.
Show More