app/src/main/java/io/antmedia/android/liveVideoBroadcaster/SignUpScreen.java
public static String generateSalt()
    {
        final int SALTSIZE = 5;

        String passwordSalt;

        StringBuilder generatedSalt = new StringBuilder();

        for(int i = 0; i <  SALTSIZE; i++)
        {
            int character = (int)(Math.random()*SALTBANK.length());
            generatedSalt.append(SALTBANK.charAt(character));
        }

        passwordSalt = generatedSalt.toString();

        return passwordSalt;
    }
/**
     * Description: Generate salt to aid password security
     *
     * @return generated salt
     */
Generate salt to aid password security
@return generated salt
Generate salt to aid password security @return generated salt
public static String generateSalt()
    {
        final int SALTSIZE = 5;
        String passwordSalt;
        StringBuilder generatedSalt = new StringBuilder();
        for(int i = 0; i <  SALTSIZE; i++)
        {
            int character = (int)(Math.random()*SALTBANK.length());
            generatedSalt.append(SALTBANK.charAt(character));
        }
        passwordSalt = generatedSalt.toString();
        return passwordSalt;
    }
public static String generateSalt ( ) { final int SALTSIZE = 5 ; String passwordSalt ; StringBuilder generatedSalt = new StringBuilder ( ) ; for ( int i = 0 ; i < SALTSIZE ; i ++ ) { int character = ( int ) ( Math . random ( ) * SALTBANK . length ( ) ) ; generatedSalt . append ( SALTBANK . charAt ( character ) ) ; } passwordSalt = generatedSalt . toString ( ) ; return passwordSalt ; }
Description: Generate salt to aid password security
 @return generated salt
Description : Generate salt to aid password security @return generated salt