Ignore:
Timestamp:
Dec 10, 2008, 11:48:09 AM (13 years ago)
Author:
Gerhard Junker
Message:

Whirlpool implemented as HMACWHIRLPOOL
Tiger Implementes as HMACTIGER

interfaces a la System.Security.Cryptography.HMACTIGER
All colleced in SSCext (System.Security.Cryptography extended) project

Location:
trunk/CrypPlugins/Whirlpool
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Whirlpool/Whirlpool.csproj

    r138 r139  
    4242      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    4343    </Reference>
    44     <Reference Include="System.Data" />
    45     <Reference Include="System.Xml" />
    4644    <Reference Include="WindowsBase">
    4745      <RequiredTargetFramework>3.0</RequiredTargetFramework>
     
    4947  </ItemGroup>
    5048  <ItemGroup>
    51     <Compile Include="SSCHMACWhirl.cs" />
    52     <Compile Include="whirlpool.cs" />
    5349    <Compile Include="Properties\AssemblyInfo.cs" />
    5450    <Compile Include="WhirlpoolPlugin.cs" />
     
    6359      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    6460      <Name>CrypPluginBase</Name>
     61    </ProjectReference>
     62    <ProjectReference Include="..\..\SSCext\SSCext.csproj">
     63      <Project>{E46A6AA6-56EE-4AE5-8725-DCD07DC95527}</Project>
     64      <Name>SSCext</Name>
    6565    </ProjectReference>
    6666  </ItemGroup>
  • trunk/CrypPlugins/Whirlpool/WhirlpoolPlugin.cs

    r138 r139  
    228228    public void Hash()
    229229    {
    230       WhirlpoolHash wh = new WhirlpoolHash();
    231 
    232       wh.Add(input);
    233       wh.Finish();
    234 
    235       outputData = wh.Hash;
     230      HMACWHIRLPOOL wh = new HMACWHIRLPOOL();
     231      wh.Initialize();
     232      outputData = wh.ComputeHash(input);
    236233      wh = null;
    237 
    238 
    239234      NotifyUpdateOutput();
    240235    }
Note: See TracChangeset for help on using the changeset viewer.