Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Check for the given QString data is encrypted or not

Check for the given QString data is encrypted or not

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 625 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sharath
    wrote on last edited by
    #1

    Hi all,

    How to check whether the given data(QString) is encrypted or not in C++.

    Is there any method of checking it?

    Please help me to solve this.

    Thanks

    K JonBJ 2 Replies Last reply
    0
    • S sharath

      Hi all,

      How to check whether the given data(QString) is encrypted or not in C++.

      Is there any method of checking it?

      Please help me to solve this.

      Thanks

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @sharath

      The question is what you are defining as encrypted?

      You may be able to check the string for unicode and see the length of string in comparison to its original length.

      You can check with decrypt algorithms if they match the general pattern and the decryption succeeds.

      Vote the answer(s) that helped you to solve your issue(s)

      S 1 Reply Last reply
      5
      • S sharath

        Hi all,

        How to check whether the given data(QString) is encrypted or not in C++.

        Is there any method of checking it?

        Please help me to solve this.

        Thanks

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #3

        @sharath
        As @koahnig says. Depending on the encryption algorithm you can never be sure anyway whether some string/bytes are encrypted --- there's no reason why a string like the quick brown fox can't be encrypted as another legitimate string like jumps over the lazy dog, so it might be encrypted or it might not and you can't be sure....

        1 Reply Last reply
        3
        • K koahnig

          @sharath

          The question is what you are defining as encrypted?

          You may be able to check the string for unicode and see the length of string in comparison to its original length.

          You can check with decrypt algorithms if they match the general pattern and the decryption succeeds.

          S Offline
          S Offline
          sharath
          wrote on last edited by
          #4

          @koahnig Thank you for your reply and i will try this.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved