public T1 GetValue <T1>(
     byte[] pass,
     CryptConfigFileHelperScryptParameters scryptParameters = null
     )
 {
     try
     {
         return(Encoding.UTF8.GetString(CryptConfigFileHelper.Decrypt(
                                            EncryptedData,
                                            pass,
                                            Salt,
                                            scryptParameters
                                            )).ParseJsonToType <T1>());
     }
     catch (EnumException <CryptConfigFileHelper.EDecryptErrCodes> enumExc)
     {
         if (enumExc.ExceptionCode == CryptConfigFileHelper.EDecryptErrCodes.WrongPassword)
         {
             throw EnumException.Create(
                       EGetValueT1ErrCodes.WrongPassword,
                       innerException: enumExc
                       );
         }
         throw;
     }
 }
 public byte[] GetOriginData(
     byte[] pass,
     CryptConfigFileHelperScryptParameters scryptParameters = null)
 {
     return(CryptConfigFileHelper.Decrypt(
                EncryptedData,
                pass,
                Salt,
                scryptParameters
                ));
 }
 public bool CheckPass(
     byte[] pass,
     CryptConfigFileHelperScryptParameters scryptParameters = null
     )
 {
     try
     {
         CryptConfigFileHelper.Decrypt(
             EncryptedData,
             pass,
             Salt,
             scryptParameters
             );
         return(true);
     }
     catch
     {
         return(false);
     }
 }