In rectangular prism \(ABCDEFGH\), the sum of the lengths of all of the edges is \(28\text{ cm}\), and the total surface area is \(13 \text{ cm}^2\).
What is the length of \(EC\), the diagonal of the prism?