Does server stores my previos passwords?












2














When I change my password on some web server like email, cloud, social network and try to use my previous password, server denied it with message "Don't use your previous passwords".
- Does it mean that server stores my my previous passwords? How does it secure?










share|improve this question



























    2














    When I change my password on some web server like email, cloud, social network and try to use my previous password, server denied it with message "Don't use your previous passwords".
    - Does it mean that server stores my my previous passwords? How does it secure?










    share|improve this question

























      2












      2








      2







      When I change my password on some web server like email, cloud, social network and try to use my previous password, server denied it with message "Don't use your previous passwords".
      - Does it mean that server stores my my previous passwords? How does it secure?










      share|improve this question













      When I change my password on some web server like email, cloud, social network and try to use my previous password, server denied it with message "Don't use your previous passwords".
      - Does it mean that server stores my my previous passwords? How does it secure?







      passwords






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      sluge

      406144




      406144






















          1 Answer
          1






          active

          oldest

          votes


















          3














          Hash functions deterministic functions, same input results always the same output. They can store the previous hash values of your old passwords and compare them with your new proposed password's hash. To achieve this, they also need to store at least the salt values, too. This means the salt and other parameters has to be the same for you in this site.



          From here, without the server side code, we cannot say more than like this.






          share|improve this answer



















          • 1




            Especially if salt is a user name or user's email.
            – sluge
            2 hours ago










          • Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
            – Federico Poloni
            15 mins ago








          • 1




            Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
            – Federico Poloni
            12 mins ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "162"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsecurity.stackexchange.com%2fquestions%2f200376%2fdoes-server-stores-my-previos-passwords%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          Hash functions deterministic functions, same input results always the same output. They can store the previous hash values of your old passwords and compare them with your new proposed password's hash. To achieve this, they also need to store at least the salt values, too. This means the salt and other parameters has to be the same for you in this site.



          From here, without the server side code, we cannot say more than like this.






          share|improve this answer



















          • 1




            Especially if salt is a user name or user's email.
            – sluge
            2 hours ago










          • Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
            – Federico Poloni
            15 mins ago








          • 1




            Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
            – Federico Poloni
            12 mins ago
















          3














          Hash functions deterministic functions, same input results always the same output. They can store the previous hash values of your old passwords and compare them with your new proposed password's hash. To achieve this, they also need to store at least the salt values, too. This means the salt and other parameters has to be the same for you in this site.



          From here, without the server side code, we cannot say more than like this.






          share|improve this answer



















          • 1




            Especially if salt is a user name or user's email.
            – sluge
            2 hours ago










          • Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
            – Federico Poloni
            15 mins ago








          • 1




            Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
            – Federico Poloni
            12 mins ago














          3












          3








          3






          Hash functions deterministic functions, same input results always the same output. They can store the previous hash values of your old passwords and compare them with your new proposed password's hash. To achieve this, they also need to store at least the salt values, too. This means the salt and other parameters has to be the same for you in this site.



          From here, without the server side code, we cannot say more than like this.






          share|improve this answer














          Hash functions deterministic functions, same input results always the same output. They can store the previous hash values of your old passwords and compare them with your new proposed password's hash. To achieve this, they also need to store at least the salt values, too. This means the salt and other parameters has to be the same for you in this site.



          From here, without the server side code, we cannot say more than like this.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 hours ago

























          answered 3 hours ago









          kelalaka

          6351615




          6351615








          • 1




            Especially if salt is a user name or user's email.
            – sluge
            2 hours ago










          • Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
            – Federico Poloni
            15 mins ago








          • 1




            Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
            – Federico Poloni
            12 mins ago














          • 1




            Especially if salt is a user name or user's email.
            – sluge
            2 hours ago










          • Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
            – Federico Poloni
            15 mins ago








          • 1




            Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
            – Federico Poloni
            12 mins ago








          1




          1




          Especially if salt is a user name or user's email.
          – sluge
          2 hours ago




          Especially if salt is a user name or user's email.
          – sluge
          2 hours ago












          Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
          – Federico Poloni
          15 mins ago






          Don't they need to store the salt value anyway to authenticate you? Basically, if the server had enough information to run a function is_password_correct() earlier (and it needed to, to log you in), then it can still save all the information required to run it after you have changed your password.
          – Federico Poloni
          15 mins ago






          1




          1




          Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
          – Federico Poloni
          12 mins ago




          Also, note that if the server answers "your new password is too similar to the password you had 1 month ago" instead, then it means that they have stored it in plain text, or that they have done something almost as insecure as storing it in plain text. Run, don't walk.
          – Federico Poloni
          12 mins ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Information Security Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsecurity.stackexchange.com%2fquestions%2f200376%2fdoes-server-stores-my-previos-passwords%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          404 Error Contact Form 7 ajax form submitting

          How to know if a Active Directory user can login interactively

          Refactoring coordinates for Minecraft Pi buildings written in Python