kaven-basic - v4.5.1
    Preparing search index...

    Function CalculateMaxSaltLength

    • RFC 3447 says that "Typical salt lengths" are either 0 or the length of the output of the digest algorithm that was selected when this key was generated. For example, if you use SHA-256 as the digest algorithm, this could be 32.

      Parameters

      • keySizeInBits: number
      • digestSizeInBytes: number

      Returns number