Skip to content

Commit

Permalink
Merge pull request #20 from CUMGroup/domain-services-interfaces
Browse files Browse the repository at this point in the history
Implemented Domain services interfaces
  • Loading branch information
jas20202 authored Oct 29, 2023
2 parents 90afc4a + bc9cf9e commit 08faaeb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions PWManager.Domain/Services/Interfaces/ICryptService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace PWManager.Domain.Services.Interfaces
{
public interface ICryptService
{
public string Encrypt(string input);
public string Decrypt(string input);
public string Hash(string input);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using PWManager.Domain.ValueObjects;

namespace PWManager.Domain.Services.Interfaces {
public interface IPasswordGeneratorService {
public string GeneratePasswordWith(PasswordGeneratorCriteria criteria);
public string GeneratePassword();
}
}

0 comments on commit 08faaeb

Please sign in to comment.