diff --git a/.idea/.idea.DiscImageChef/.idea/contentModel.xml b/.idea/.idea.DiscImageChef/.idea/contentModel.xml
index 5f9992b31..79e8f470a 100644
--- a/.idea/.idea.DiscImageChef/.idea/contentModel.xml
+++ b/.idea/.idea.DiscImageChef/.idea/contentModel.xml
@@ -246,6 +246,7 @@
+
diff --git a/DiscImageChef.Core/DiscImageChef.Core.csproj b/DiscImageChef.Core/DiscImageChef.Core.csproj
index 5c9698e9e..8208068c5 100644
--- a/DiscImageChef.Core/DiscImageChef.Core.csproj
+++ b/DiscImageChef.Core/DiscImageChef.Core.csproj
@@ -49,6 +49,7 @@
+
diff --git a/DiscImageChef.Core/Entropy.cs b/DiscImageChef.Core/Entropy.cs
new file mode 100644
index 000000000..33e17fb77
--- /dev/null
+++ b/DiscImageChef.Core/Entropy.cs
@@ -0,0 +1,174 @@
+// /***************************************************************************
+// The Disc Image Chef
+// ----------------------------------------------------------------------------
+//
+// Filename : Entropy.cs
+// Author(s) : Natalia Portillo
+//
+// Component : Core algorithms.
+//
+// --[ Description ] ----------------------------------------------------------
+//
+// Calculates the entropy of an image
+//
+// --[ License ] --------------------------------------------------------------
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// ----------------------------------------------------------------------------
+// Copyright © 2011-2018 Natalia Portillo
+// ****************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using DiscImageChef.Checksums;
+using DiscImageChef.CommonTypes.Interfaces;
+using DiscImageChef.CommonTypes.Structs;
+using DiscImageChef.Console;
+
+namespace DiscImageChef.Core
+{
+ public class Entropy
+ {
+ bool debug;
+ IMediaImage inputFormat;
+ bool verbose;
+
+ public Entropy(bool debug, bool verbose, IMediaImage inputFormat)
+ {
+ this.debug = debug;
+ this.verbose = verbose;
+ this.inputFormat = inputFormat;
+ }
+
+ public event InitProgressHandler InitProgressEvent;
+ public event UpdateProgressHandler UpdateProgressEvent;
+ public event EndProgressHandler EndProgressEvent;
+ public event InitProgressHandler InitProgress2Event;
+ public event UpdateProgressHandler UpdateProgress2Event;
+ public event EndProgressHandler EndProgress2Event;
+
+ public EntropyResults[] CalculateTracksEntropy(bool duplicatedSectors)
+ {
+ List entropyResultses = new List();
+
+ try
+ {
+ List