Changeset 176


Ignore:
Timestamp:
3/10/2008 12:38:10 AM (7 years ago)
Author:
lowjoel
Message:

Added the ISAAC and RNGCryptoServiceProvider CSPRNGs.

Location:
branches/eraser6/DefaultPlugins
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/DefaultPlugins/DefaultPlugins.csproj

    r167 r176  
    2929  </PropertyGroup> 
    3030  <ItemGroup> 
     31    <Reference Include="ISAAC, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> 
     32      <SpecificVersion>False</SpecificVersion> 
     33      <HintPath>C:\Users\Joel Low\Documents\Development\Libraries\C#\ISAAC\Rand\bin\Release\ISAAC.dll</HintPath> 
     34    </Reference> 
    3135    <Reference Include="System" /> 
    3236    <Reference Include="System.Data" /> 
     
    3539  <ItemGroup> 
    3640    <Compile Include="Gutmann.cs" /> 
     41    <Compile Include="ISAAC.cs" /> 
    3742    <Compile Include="Plugin.cs" /> 
    3843    <Compile Include="Properties\AssemblyInfo.cs" /> 
     44    <Compile Include="RNGCrypto.cs" /> 
    3945  </ItemGroup> 
    4046  <ItemGroup> 
  • branches/eraser6/DefaultPlugins/Plugin.cs

    r172 r176  
    1515        { 
    1616            host.RegisterErasureMethod(new Gutmann()); 
     17            host.RegisterPRNG(new ISAAC()); 
     18            host.RegisterPRNG(new RNGCrypto()); 
    1719        } 
    1820 
    1921        public string Name 
    2022        { 
    21             get { return "Default Erase Methods and PRNGs"; } 
     23            get { return "Default Erasure Methods and PRNGs"; } 
    2224        } 
    2325 
     
    3335        public void Dispose() 
    3436        { 
    35             throw new Exception("The method or operation is not implemented."); 
     37            throw new NotImplementedException("The method or operation is not implemented."); 
    3638        } 
    3739 
Note: See TracChangeset for help on using the changeset viewer.