Skip to content

Commit

Permalink
* Moved SharedSecret
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-biddington committed Aug 24, 2010
1 parent 5683717 commit 7bcc615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Brick/Brick.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<Compile Include="NamespaceUris.cs" />
<Compile Include="NodeNames.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SharedSecret.cs" />
<Compile Include="Hashing\SharedSecret.cs" />
<Compile Include="DateAndTime\W3CDateString.cs" />
<Compile Include="XmlSigner.cs" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Security.Cryptography;
using System.Text;

namespace Brick {
namespace Brick.Hashing {
public class SharedSecret {
public Byte[] From(String password) {
return SHA1.Create().ComputeHash(Encoding.ASCII.GetBytes(password));
Expand Down
1 change: 1 addition & 0 deletions src/Brick/XmlSigner.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Xml;
using Brick.DateAndTime;
using Brick.Hashing;

namespace Brick {
public class XmlSigner : IXmlSigner {
Expand Down

0 comments on commit 7bcc615

Please sign in to comment.