Class PasswordUtil

    • Constructor Detail

      • PasswordUtil

        PasswordUtil()
    • Method Detail

      • generateRandomSalt

        public static byte[] generateRandomSalt​(int saltSize)
        Generate a random salt as byte array.
        Parameters:
        saltSize - the size of the salt
        Returns:
        a byte array representing the random salt