iOS Question Generate Hash with Salt

Discussion in 'iOS Questions' started by Alexander Stolte, Apr 8, 2018.

  1. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Hello,

    how can i generate a Hash with a Salt value? in B4A i use this lib., but this lib, is for B4A and not for B4I.

    Greetings
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    There isn't enough information in the library description to exactly understand what it is doing.

    You can use MessageDigest from the iEncryption library to calculate hash. A similar object is available in B4A and B4J Encryption library.
    https://www.b4x.com/b4i/help/iencryption.html#messagedigest
     
  3. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    i dont see anything with salt. I had already looked at it, but I need a hash value that is not traceable.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Salt is just a string that you add to the original string.
     
    Alexander Stolte likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice