diff --git a/DigitalData.Core.Abstractions/Security/ICryptFactory.cs b/DigitalData.Core.Abstractions/Security/ICryptFactory.cs new file mode 100644 index 0000000..d61f227 --- /dev/null +++ b/DigitalData.Core.Abstractions/Security/ICryptFactory.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DigitalData.Core.Abstractions.Security +{ + public interface ICryptFactory + { + } +} diff --git a/DigitalData.Core.Security/CryptFactory.cs b/DigitalData.Core.Security/CryptFactory.cs new file mode 100644 index 0000000..2407c1a --- /dev/null +++ b/DigitalData.Core.Security/CryptFactory.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Security; + +namespace DigitalData.Core.Security +{ + public class CryptFactory : ICryptFactory + { + private static readonly Lazy LazyStaticCryptFactory = new (() => new CryptFactory()); + + public ICryptFactory Static = LazyStaticCryptFactory.Value; + } +} \ No newline at end of file