Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 7th, 2010, 11:10 PM
Authorized User
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default [Cryptography]Challenges with Large integer using C/C++

Hi all.
I'm learning cryptography (My native language is not English , so I hope you understand what I mean).
There are some problem with my learning : a , b , n are large integer(big integer) , we need a lot of bits for restoring them (their bits > 100)
1. Input : a , b , n
Write function in order to calculate : m = (a * b) % n
Output : m
2. Input : a , b, n
Write function in order to calculate : m = (a ^ b) %n
Output : m
3. After write these function , how we can test them(because they are very large)

Please help.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Integer I/O in assembly kaycg BOOK: Professional Assembly Language 2 May 11th, 2007 05:00 AM
text vs integer paul20091968 Access VBA 2 February 13th, 2007 10:50 PM
Cryptography project mannuvashishta .NET Framework 1.x 0 January 10th, 2007 06:49 PM
integer overflow partaola Beginning VB 6 2 March 17th, 2004 09:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.