diff --git a/Aspects/Linq/Expressions/Serialization/NuGet/ExpressionSerialization.nuspec b/Aspects/Linq/Expressions/Serialization/NuGet/ExpressionSerialization.nuspec index c8985df..13db40f 100644 --- a/Aspects/Linq/Expressions/Serialization/NuGet/ExpressionSerialization.nuspec +++ b/Aspects/Linq/Expressions/Serialization/NuGet/ExpressionSerialization.nuspec @@ -2,7 +2,7 @@ AspectExpressionSerialization - 1.0.25 + 1.0.26 Val Melamed Val Melamed diff --git a/Aspects/Linq/Expressions/Serialization/Properties/AssemblyInfo.cs b/Aspects/Linq/Expressions/Serialization/Properties/AssemblyInfo.cs index 85836cc..9260608 100644 --- a/Aspects/Linq/Expressions/Serialization/Properties/AssemblyInfo.cs +++ b/Aspects/Linq/Expressions/Serialization/Properties/AssemblyInfo.cs @@ -4,9 +4,9 @@ [assembly: AssemblyTitle("vm.Aspects.Linq.Expressions.Serialization")] [assembly: AssemblyDescription("Serializes and deserializes LINQ expression trees to and from XML documents.")] -[assembly: AssemblyVersion("1.0.25")] -[assembly: AssemblyFileVersion("1.0.25")] -[assembly: AssemblyInformationalVersion("1.0.25")] +[assembly: AssemblyVersion("1.0.26")] +[assembly: AssemblyFileVersion("1.0.26")] +[assembly: AssemblyInformationalVersion("1.0.26")] [assembly: InternalsVisibleTo( "vm.Aspects.Linq.Expressions.Serialization.Test, " + diff --git a/Aspects/Model/EFRepository/HiLoIdentity/HiLoIdentityGenerator.cs b/Aspects/Model/EFRepository/HiLoIdentity/HiLoIdentityGenerator.cs index 72d0708..e256dc6 100644 --- a/Aspects/Model/EFRepository/HiLoIdentity/HiLoIdentityGenerator.cs +++ b/Aspects/Model/EFRepository/HiLoIdentity/HiLoIdentityGenerator.cs @@ -17,16 +17,21 @@ public class HiLoIdentityGenerator : BaseDomainEntity, IEquatable - /// The default value of the maximum value of the low value: 100 - /// - public const int DefaultMaxLowValue = 1000; + /// The default value of the maximum value of the low value: DEBUG - 100, RELEASE - 1000. + /// + public const int DefaultMaxLowValue = +#if DEBUG + 100; +#else + 1000; +#endif #endregion #region Constructors /// /// Initializes a new instance of the class. /// - public HiLoIdentityGenerator() + public HiLoIdentityGenerator(int maxLowValue = DefaultMaxLowValue) { MaxLowValue = DefaultMaxLowValue; } diff --git a/Aspects/Model/Properties/AssemblyInfo.cs b/Aspects/Model/Properties/AssemblyInfo.cs index f7e9f20..13d0d1a 100644 --- a/Aspects/Model/Properties/AssemblyInfo.cs +++ b/Aspects/Model/Properties/AssemblyInfo.cs @@ -3,9 +3,9 @@ [assembly: AssemblyTitle("vm.Aspect.Model")] [assembly: AssemblyDescription("Defines the IRepository and related base classes and utilities - a framework of building domain object model.")] -[assembly: AssemblyVersion("1.0.25")] -[assembly: AssemblyFileVersion("1.0.25")] -[assembly: AssemblyInformationalVersion("1.0.25")] +[assembly: AssemblyVersion("1.0.26")] +[assembly: AssemblyFileVersion("1.0.26")] +[assembly: AssemblyInformationalVersion("1.0.26")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo( "vm.Aspects.Model.Tests, " + diff --git a/Aspects/NuGet/vm.Aspects.nuspec b/Aspects/NuGet/vm.Aspects.nuspec index 3d61270..0069398 100644 --- a/Aspects/NuGet/vm.Aspects.nuspec +++ b/Aspects/NuGet/vm.Aspects.nuspec @@ -2,7 +2,7 @@ vm.Aspects - 1.0.25-beta + 1.0.26-beta Val Melamed Val Melamed @@ -12,7 +12,8 @@ A set of classes, utilities, etc. addressing various common cross-cutting concerns or extending existing similar libraries like Enterprise Library, Unity, etc. - vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider. + * vm.Aspects.Security,Cryptography: Fixed a bug in `EncryptedKeyCipher.CloneCipher` + * vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider. https://github.com/vmelamed/vm/blob/master/LICENSE https://github.com/vmelamed/vm/tree/master/Aspects diff --git a/Aspects/Parsers/Properties/AssemblyInfo.cs b/Aspects/Parsers/Properties/AssemblyInfo.cs index af00d27..90cc496 100644 --- a/Aspects/Parsers/Properties/AssemblyInfo.cs +++ b/Aspects/Parsers/Properties/AssemblyInfo.cs @@ -6,9 +6,9 @@ [assembly: AssemblyTitle("vm.Aspects.Parser")] [assembly: AssemblyDescription("Text parsing readers, e.g. CSV/TSV reader.")] -[assembly: AssemblyVersion("1.0.25")] -[assembly: AssemblyFileVersion("1.0.25")] -[assembly: AssemblyInformationalVersion("1.0.25")] +[assembly: AssemblyVersion("1.0.26")] +[assembly: AssemblyFileVersion("1.0.26")] +[assembly: AssemblyInformationalVersion("1.0.26")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo( "vm.Aspects.Parsers.Tests, " + diff --git a/Aspects/Properties/AssemblyInfo.cs b/Aspects/Properties/AssemblyInfo.cs index eba99b7..4f64c2a 100644 --- a/Aspects/Properties/AssemblyInfo.cs +++ b/Aspects/Properties/AssemblyInfo.cs @@ -2,9 +2,9 @@ [assembly: AssemblyTitle("vm.Aspects")] [assembly: AssemblyDescription("A set of classes addressing various common cross-cutting concerns.")] -[assembly: AssemblyVersion("1.0.25")] -[assembly: AssemblyFileVersion("1.0.25")] -[assembly: AssemblyInformationalVersion("1.0.25")] +[assembly: AssemblyVersion("1.0.26")] +[assembly: AssemblyFileVersion("1.0.26")] +[assembly: AssemblyInformationalVersion("1.0.26")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo( diff --git a/Aspects/Security/Cryptography/Ciphers/NuGet/Ciphers.nuspec b/Aspects/Security/Cryptography/Ciphers/NuGet/Ciphers.nuspec index 7e83d4c..9913156 100644 --- a/Aspects/Security/Cryptography/Ciphers/NuGet/Ciphers.nuspec +++ b/Aspects/Security/Cryptography/Ciphers/NuGet/Ciphers.nuspec @@ -2,7 +2,7 @@ Ciphers - 1.11.3 + 1.11.4 Val Melamed Val Melamed @@ -18,7 +18,17 @@ * Built and tested with .NET v4.6. - Performance improvements in the algorithm factories. + * Added interface `ILightCipher` with methods `ReleaseCertificate` and `CloneCipher` to the class `EncryptedKeyCipher` and + `ILightHasher` with methods `ReleaseCertificate` and `CloneHasher` to the class `KeyedHasher`. + `ReleaseCertificate` strips the public/private keys from the objects and now they can be used only for encryption/hashing. + This way the objects become lighter and more suitable for caching and using it in a big numbers of cryptographic operations. + `CloneCipher` creates a copy of the current object, without the public/private keys. + + * Some performance improvements in the classes `Hasher` and `Signer`. + + * Performance improvements in the algorithm factories. + + * Fixed a bug in `EncryptedKeyCipher.CloneCipher` https://github.com/vmelamed/vm/blob/master/LICENSE https://github.com/vmelamed/vm/tree/master/Aspects/Security/Cryptography/Ciphers diff --git a/Aspects/Security/Cryptography/Ciphers/Properties/AssemblyInfo.cs b/Aspects/Security/Cryptography/Ciphers/Properties/AssemblyInfo.cs index 271220f..7d48836 100644 --- a/Aspects/Security/Cryptography/Ciphers/Properties/AssemblyInfo.cs +++ b/Aspects/Security/Cryptography/Ciphers/Properties/AssemblyInfo.cs @@ -5,9 +5,9 @@ // associated with an assembly. [assembly: AssemblyTitle("vm.Aspects.Security.Cryptography.Ciphers")] [assembly: AssemblyDescription("A set of cipher classes producing cipher-packages and encrypted and/or signed XML documents and elements.")] -[assembly: AssemblyVersion("1.11.3")] -[assembly: AssemblyFileVersion("1.11.3")] -[assembly: AssemblyInformationalVersion("1.11.3")] +[assembly: AssemblyVersion("1.11.4")] +[assembly: AssemblyFileVersion("1.11.4")] +[assembly: AssemblyInformationalVersion("1.11.4")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo( "vm.Aspects.Security.Cryptography.Ciphers.Tests, " + diff --git a/Aspects/Wcf/Properties/AssemblyInfo.cs b/Aspects/Wcf/Properties/AssemblyInfo.cs index 8d0cefe..ec4c841 100644 --- a/Aspects/Wcf/Properties/AssemblyInfo.cs +++ b/Aspects/Wcf/Properties/AssemblyInfo.cs @@ -3,9 +3,9 @@ [assembly: AssemblyTitle("Wcf")] [assembly: AssemblyDescription("A set of classes and generics simplifying the initial configuration work of creating WCF services.")] -[assembly: AssemblyVersion("1.0.25")] -[assembly: AssemblyFileVersion("1.0.25")] -[assembly: AssemblyInformationalVersion("1.0.25")] +[assembly: AssemblyVersion("1.0.26")] +[assembly: AssemblyFileVersion("1.0.26")] +[assembly: AssemblyInformationalVersion("1.0.26")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo( "vm.Aspects.Wcf.Test, " +