public static Sid generate(final Type type, String string) {
        String token = new Md5Hash(string).toString();
        switch (type) {
            case ACCOUNT: {
                return new Sid("AC" + token);
            }
            default: {
                return generate(type);
            }
        }
    }
public static Sid generate ( final Type type , String string ) { String token = new Md5Hash ( string ) . toString ( ) ; switch ( type ) { case ACCOUNT : { return new Sid ( "AC" + token ) ; } default : { return generate ( type ) ; } } }
Issue 108: https://bitbucket.org/telestax/telscale-restcomm/issue/108/account-sid-could-be-a-hash-of-the