public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = KeySize;
         hashCode = (hashCode * 397) ^ (AlgorithmIdentifier != null ? AlgorithmIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Strength;
         return(hashCode);
     }
 }