All pastes #491243 Raw Edit

libNT

public text v1 · immutable
·published 2007-05-16 15:07 UTC
rendered paste body
#ifndef LIBNT_H_
#define LIBNT_H_

#include "BigInteger.hh"

// For the 4 routines `easy BI/BU <=> string' and `iostream' integration.
#include "BigIntegerUtils.hh"


class libnt{
public:
	libnt();
	virtual ~libnt();
	BigInteger bigSqrt(BigInteger a);
	BigInteger ggT(BigInteger m, BigInteger n);
	BigInteger pow(BigInteger base, BigInteger exp);
	bool 	   MillerRabin(BigInteger ulZahl);
};

#endif /*LIBNT_H_*/