What\'s the best way to produce a SALT value in Java as a String that\'s at least 32 bytes long?
final Random r = new SecureRandom(); byte[] salt = new byte[32]; r.nextBytes(salt); /** String encodedSalt = Base64.encodeBase64String(salt); */