public final String toBase58(){
  byte[] addressBytes=new byte[1 + bytes.length + 4];
  addressBytes[0]=(byte)version;
  System.arraycopy(bytes,0,addressBytes,1,bytes.length);
  byte[] checksum=Sha256Hash.hashTwice(addressBytes,0,bytes.length + 1);
  System.arraycopy(checksum,0,addressBytes,bytes.length + 1,4);
  return Base58.encode(addressBytes);
}

public final String toBase58 ( ) { byte [ ] addressBytes = new byte [ 1 + bytes . length + 4 ] ; addressBytes [ 0 ] = ( byte ) version ; System . arraycopy ( bytes , 0 , addressBytes , 1 , bytes . length ) ; byte [ ] checksum = Sha256Hash . hashTwice ( addressBytes , 0 , bytes . length + 1 ) ; System . arraycopy ( checksum , 0 , addressBytes , bytes . length + 1 , 4 ) ; return Base58 . encode ( addressBytes ) ; }
returns the base - 58 encoded string representation of this object , including version and checksum bytes .
