how to convert hascode to string value










1















how can i convert has code value to string value this is e example has-code value




a21a239522332080e078fb05bef9420b




i can convert it using select command ??










share|improve this question






















  • which SQL Server version it is?

    – jap_jap
    Nov 15 '18 at 8:06






  • 3





    It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

    – gusto2
    Nov 15 '18 at 8:45












  • this is a password field , now i want to be see password

    – Emon
    Nov 15 '18 at 10:37











  • SQL server version 2012

    – Emon
    Nov 15 '18 at 10:37






  • 1





    The idea of hashcode is that you can't convert back

    – Eray Balkanli
    Nov 16 '18 at 14:58















1















how can i convert has code value to string value this is e example has-code value




a21a239522332080e078fb05bef9420b




i can convert it using select command ??










share|improve this question






















  • which SQL Server version it is?

    – jap_jap
    Nov 15 '18 at 8:06






  • 3





    It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

    – gusto2
    Nov 15 '18 at 8:45












  • this is a password field , now i want to be see password

    – Emon
    Nov 15 '18 at 10:37











  • SQL server version 2012

    – Emon
    Nov 15 '18 at 10:37






  • 1





    The idea of hashcode is that you can't convert back

    – Eray Balkanli
    Nov 16 '18 at 14:58













1












1








1








how can i convert has code value to string value this is e example has-code value




a21a239522332080e078fb05bef9420b




i can convert it using select command ??










share|improve this question














how can i convert has code value to string value this is e example has-code value




a21a239522332080e078fb05bef9420b




i can convert it using select command ??







sql sql-server encryption






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 15 '18 at 7:34









EmonEmon

64




64












  • which SQL Server version it is?

    – jap_jap
    Nov 15 '18 at 8:06






  • 3





    It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

    – gusto2
    Nov 15 '18 at 8:45












  • this is a password field , now i want to be see password

    – Emon
    Nov 15 '18 at 10:37











  • SQL server version 2012

    – Emon
    Nov 15 '18 at 10:37






  • 1





    The idea of hashcode is that you can't convert back

    – Eray Balkanli
    Nov 16 '18 at 14:58

















  • which SQL Server version it is?

    – jap_jap
    Nov 15 '18 at 8:06






  • 3





    It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

    – gusto2
    Nov 15 '18 at 8:45












  • this is a password field , now i want to be see password

    – Emon
    Nov 15 '18 at 10:37











  • SQL server version 2012

    – Emon
    Nov 15 '18 at 10:37






  • 1





    The idea of hashcode is that you can't convert back

    – Eray Balkanli
    Nov 16 '18 at 14:58
















which SQL Server version it is?

– jap_jap
Nov 15 '18 at 8:06





which SQL Server version it is?

– jap_jap
Nov 15 '18 at 8:06




3




3





It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

– gusto2
Nov 15 '18 at 8:45






It is still not clear what do you want to achieve. You have a binary hash as a database field and do you want to select its hex encoded representation?

– gusto2
Nov 15 '18 at 8:45














this is a password field , now i want to be see password

– Emon
Nov 15 '18 at 10:37





this is a password field , now i want to be see password

– Emon
Nov 15 '18 at 10:37













SQL server version 2012

– Emon
Nov 15 '18 at 10:37





SQL server version 2012

– Emon
Nov 15 '18 at 10:37




1




1





The idea of hashcode is that you can't convert back

– Eray Balkanli
Nov 16 '18 at 14:58





The idea of hashcode is that you can't convert back

– Eray Balkanli
Nov 16 '18 at 14:58












1 Answer
1






active

oldest

votes


















0














I am guessing that you want to get the password's original string using only it's hash. Is that correct ?



The hashing process is irreversible. Hashes are used to compare initial values, but not to retrieve them.



Say you have an initial value password and it's hash would be 5f4dcc3b5aa765d61d8327deb882cf99 (MD5) for example.



The value password could be retrieved using Brute Force, where you would have to keep generating values, hashing them with the same hash-function and then comparing to the one you have (5f4dcc3b5aa765d61d8327deb882cf99).



If they match - the chances are very high, that password is the initial value.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53314439%2fhow-to-convert-hascode-to-string-value%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









    0














    I am guessing that you want to get the password's original string using only it's hash. Is that correct ?



    The hashing process is irreversible. Hashes are used to compare initial values, but not to retrieve them.



    Say you have an initial value password and it's hash would be 5f4dcc3b5aa765d61d8327deb882cf99 (MD5) for example.



    The value password could be retrieved using Brute Force, where you would have to keep generating values, hashing them with the same hash-function and then comparing to the one you have (5f4dcc3b5aa765d61d8327deb882cf99).



    If they match - the chances are very high, that password is the initial value.






    share|improve this answer





























      0














      I am guessing that you want to get the password's original string using only it's hash. Is that correct ?



      The hashing process is irreversible. Hashes are used to compare initial values, but not to retrieve them.



      Say you have an initial value password and it's hash would be 5f4dcc3b5aa765d61d8327deb882cf99 (MD5) for example.



      The value password could be retrieved using Brute Force, where you would have to keep generating values, hashing them with the same hash-function and then comparing to the one you have (5f4dcc3b5aa765d61d8327deb882cf99).



      If they match - the chances are very high, that password is the initial value.






      share|improve this answer



























        0












        0








        0







        I am guessing that you want to get the password's original string using only it's hash. Is that correct ?



        The hashing process is irreversible. Hashes are used to compare initial values, but not to retrieve them.



        Say you have an initial value password and it's hash would be 5f4dcc3b5aa765d61d8327deb882cf99 (MD5) for example.



        The value password could be retrieved using Brute Force, where you would have to keep generating values, hashing them with the same hash-function and then comparing to the one you have (5f4dcc3b5aa765d61d8327deb882cf99).



        If they match - the chances are very high, that password is the initial value.






        share|improve this answer















        I am guessing that you want to get the password's original string using only it's hash. Is that correct ?



        The hashing process is irreversible. Hashes are used to compare initial values, but not to retrieve them.



        Say you have an initial value password and it's hash would be 5f4dcc3b5aa765d61d8327deb882cf99 (MD5) for example.



        The value password could be retrieved using Brute Force, where you would have to keep generating values, hashing them with the same hash-function and then comparing to the one you have (5f4dcc3b5aa765d61d8327deb882cf99).



        If they match - the chances are very high, that password is the initial value.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 16 '18 at 15:01

























        answered Nov 16 '18 at 14:51









        Sk83r1l4m4Sk83r1l4m4

        8210




        8210





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • 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%2fstackoverflow.com%2fquestions%2f53314439%2fhow-to-convert-hascode-to-string-value%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

            Top Tejano songwriter Luis Silva dead of heart attack at 64

            政党

            天津地下鉄3号線