public byte[] DecryptWithSolution(byte[] buffer) { if (solution == null) { throw new NullReferenceException(); } return(encryptionAlgorithm.Decrypt(buffer, hashAlgorithm.ComputeHash(solution))); }