Ignore:
Timestamp:
Nov 1, 2009, 11:29:05 AM (12 years ago)
Author:
Timo Eckhardt
Message:

switched from GmpBigInteger to PrimesBigInteger based on BouncyCastle BigInteger

Location:
trunk/CrypPlugins/PrimeTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PrimeTest/PrimeTest.cs

    r419 r809  
    55using Cryptool.PluginBase.Tool;
    66using Cryptool.PluginBase;
    7 using LibGmpWrapper;
    87using Cryptool.PluginBase.IO;
     8using Primes.Bignum;
    99
    1010namespace PrimeTest
     
    9999    #region Properties
    100100    private string m_InputString;
    101     GmpBigInteger m_Value = null;
     101    PrimesBigInteger m_Value = null;
    102102    [PropertyInfo(Direction.InputData, "Text input", "Input a string that represent a natural number", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Text,null)]
    103103    public string InputString
     
    113113            {
    114114              this.m_InputString = value;
    115               m_Value = new GmpBigInteger(m_InputString.Trim());
     115              m_Value = new PrimesBigInteger(m_InputString.Trim());
    116116              FirePropertyChangeEvent("InputString");
    117117            }
  • trunk/CrypPlugins/PrimeTest/PrimeTest.csproj

    r4 r809  
    44    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    55    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    6     <ProductVersion>9.0.21022</ProductVersion>
     6    <ProductVersion>9.0.30729</ProductVersion>
    77    <SchemaVersion>2.0</SchemaVersion>
    88    <ProjectGuid>{A91DE3E2-DF16-42E1-B164-7B02F4B2665F}</ProjectGuid>
     
    3232  </PropertyGroup>
    3333  <ItemGroup>
    34     <Reference Include="LibGmpWrapper, Version=1.0.2987.28787, Culture=neutral, processorArchitecture=x86">
    35       <SpecificVersion>False</SpecificVersion>
    36       <HintPath>..\Primes\Primes.References\LibGmpWrapper.dll</HintPath>
    37     </Reference>
    3834    <Reference Include="PresentationCore">
    3935      <RequiredTargetFramework>3.0</RequiredTargetFramework>
     
    6864      <Name>CrypPluginBase</Name>
    6965    </ProjectReference>
     66    <ProjectReference Include="..\Primes\Primes\Primes.csproj">
     67      <Project>{2830F337-A7A3-4A68-87AC-64F3AA79C70B}</Project>
     68      <Name>Primes</Name>
     69    </ProjectReference>
    7070  </ItemGroup>
    7171  <ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.