About 6.5 Million LinkedIn Passwords Leaked

Posted: June 10, 2012 by makaranddalal in Uncategorized

About 6.5 million passwords belonging to LinkedIn have been leaked.

Linkedin

And almost 60% of the passwords have been cracked already. i.e its Encryption have been cracked

LinkedIn passwords were encrypted using SHA-1 Algorithm but weren’t salted apparently, which made it pretty easy for the hackers to crack them.

  • The process of adding an extra string to the pre-encryption of the password so as to make it tougher or less prone to attacks like these is called “salting”.
Although salted passwords can still be cracked, it’s a longer process and that would have given LinkedIn – and users – more time to react. Although the company eventually confirmed that the password list was, indeed, authentic, and then locked down those accounts compromised, the fear is that users may have relied on the same credentials for other sites and services which could now be subject to unauthorized access.

 

LinkedIn says it will now be salting all passwords – including those of compromised users who will be forced to change their password before regaining access to their account – so as to add an extra barrier to attack.

Detail about this is given on the LinkedIn Blog.

Advertisements

Programs to demonstrate java basics

Posted: June 10, 2012 by bhumika289 in JAVA

Basic java program:

package javaapplication1;
public class JavaApplication1
{

/* This is my first java program.
* example of multi-line comments.
*/

public static void main(String[] args)
{
System.out.println(“This is a basic java program. Welcome to the programming world!!!!”);

//example of single line comment
}
}

Output:

This is a basic java program. Welcome to the programming world!!!!

Program to demonstrate objects and classes:

package Employee;

class Worker
{
String name;
int age;

void setData(String name1, int age1)
{
name=name1;
age=age1;
}
}
public class Employee
{
public static void main(String[] args)
{
int age=21;
Worker w=new Worker();
w.setData(“Makarand”, age);
System.out.print(“Name:”+w.name+”\nAge:”+w.age);
}
}

output:

Name:Makarand

Age:21

Program to demonstrate use of ‘if’ statement:

class Largest
{
public static void main(String args[])
{
int x1=10,x2=21,x3=3;
int large;
large = x1;
if (x2 > large)
large = x2;
if (x3 > large)
large = x3;
System.out.println(“Largest number=” + large);
}
}

Output:

Largest number=21

Program to demonstrate use of ‘if else’ statement:

class result
{
public static void main(String args[])
{
int marks = 40;
if (marks<40)
System.out.println(“The student has failed”);
else
System.out.println(“The student has Passed”);
}
}

Output:

The student has Passed

Program to demonstrate use of ‘if- else- if’ statement:

class result
{
public static void main(String args[])
{
int marks = 62;
if (marks<40)
System.out.println(“Fails”);
else if(marks>=40 && marks<60)
System.out.println(“Pass class”);
else if(marks>=60 && marks<75)
System.out.println(“First class”);
else
System.out.println(“Distinction”);
}
}

Output:

First class

Program to demonstrate use of nested if statement:

class Maximum
{
public static void main(String args[])
{
int a=10,b=21,c=3;
int max=0;
if (a>b) //1
{
if(a>c) //2
max=a;
else //2
max=c;
}
else //1
{
if(b>c) //3
max=b;
else //3
max=c;
}
System.out.println(“maximum=” +max);
}
}

Output:

maximum=21

Program to demonstrate use of ‘switch’ statement:

class Calculate
{
public static void main(String[] args)
{
int a=10,b=2,ch;
double ans;
ch=’3′;
switch(ch)
{
case 1:
ans=a+b;
System.out.println(“a+b=” + ans);
break;

case 2:
ans=a-b;
System.out.println(“a-b=” + ans);
break;

case 3:
ans=a*b;
System.out.println(“a*b=” + ans);
break;

case 4:
ans=a/b;
System.out.println(“a/b=” + ans);
break;

default:
System.out.println(“Incorrect choice”);
}
}
}

output:

a*b=20

Program to demonstrate use of ‘for’ loop:

class tableof5

{
public static void main(String args[])
{
int i;
for (i=1;i<=10;i++)
{
System.out.println(“5*”+i+”=”+(5*i));
}
}
}

output:

5*1=5
5*2=10
5*3=15
5*4=20
5*5=25
5*6=30
5*7=35
5*8=40
5*9=45
5*10=50

Program to demonstrate use of ‘while’ loop:

class tableof5

{
public static void main(String args[])
{
int i=1;
while(i<=10)
{
System.out.println(“5*”+i+”=”+(5*i));
i++;
}
}
}

output:

5*1=5
5*2=10
5*3=15
5*4=20
5*5=25
5*6=30
5*7=35
5*8=40
5*9=45
5*10=50

Program to demonstrate use of ‘do-while’ loop:

class tableof5

{
public static void main(String args[])
{
int i=1;
do
{
System.out.println(“5*”+i+”=”+(5*i));
i++;
}
while(i<=10);
}
}

output:

5*1=5
5*2=10
5*3=15
5*4=20
5*5=25
5*6=30
5*7=35
5*8=40
5*9=45
5*10=50

Program to demonstrate use of ‘break’ statement:

class break1
{
public static void main(String args[])
{
int i = 1;
while (i<=10)
{
System.out.println(i);
i++;
if (i==5)
{
break;
}
}
}
}

output:

12345

Program to demonstrate use of ‘labelled break’ statement:

class break2
{
public static void main (String args[])
{
boolean t=true;
first:
{
second:
{
third:
{
System.out.println(“third block, stmt1”);
if(t)
break third;
System.out.println(“third black, stmt2”);
}
System.out.println(“second block, stmt1”);
if(t)
break second;
System.out.println(“second black, stmt2”);
}
System.out.println(“first block, stmt1”);
if(t)
break first;
System.out.println(“first black, stmt2”);
}
}
}

output:

third block, stmt1
second block, stmt1
first block, stmt1

Program to demonstrate use of ‘continue’ statement:

class continue1
{
public static void main(String args[])
{
for (int i=1; i<=10; i++)
{
if (i%2 == 0)
continue;
System.out.println(i);
}
}

}

output:

13579

Program to demonstrate use of ‘return’ statement:

class Worker
{
String name;
int age;

void setData(String name1, int age1)
{
name=name1;
age=age1;
}
String getName()
{
return name;
}
int getAge()
{
return age;
}
}
public class Employee
{
public static void main(String[] args)
{
int age=21;
Worker w=new Worker();
w.setData(“Makarand”, age);
System.out.print(“Name:”+w.getName()+”\nAge:”+w.getAge());
}
}

output:

Name:Makarand
Age:21

Pencil

Posted: June 10, 2012 by athulpavithran in Downloads

Pencil is an animation/drawing software for Mac OS X, Windows, and Linux. It lets you create traditional hand-drawn animation (cartoon) using both bitmap and vector graphics. Pencil is free and open source.

Download Here

Pencil 2D

SmoothDraw

Posted: June 10, 2012 by athulpavithran in Downloads

With SmoothDraw, you can forget about learning software tools, just start drawing with all your talents.

Smooth Draw is an easy natural painting and digital free-hand drawing software that can produce high quality pictures. Support many kinds of brushes (pen, pencil, dry media, airbrush, bristle brush, image hose, etc.), retouch tools, layers, image adjustment, and many effects… Works great with tablets and Tablet PC.

Download Here

Smooth Draw

Insight Point

Posted: June 10, 2012 by athulpavithran in Downloads

InsightPoint is a cool multi-scene vector drawing tool for Windows and Linux

Download here

Koffice

Posted: June 10, 2012 by athulpavithran in Downloads

KOffice is free software, meaning it’s open for anyone to improve and does not cost anything.

It’s created mainly by people in their free time.

Download Link

koffice

Draw plus 4

Posted: June 10, 2012 by athulpavithran in Downloads

Impressive drawing tools and brilliant effects are just a couple of clicks away with DrawPlus Starter Edition, our stunning free vector drawing. This version is 100% free and start creating great designs.

Features

  • Accurate vector drawing program
  • Realistic brush, pen, and pencil tools
  • Text on a path – great for creative designs
  • Blend modes for advance artistic effects
  • Compatible with graphics tablets
  • Great for designing web graphics and creative print projects

Draw plus

Inkscape

Posted: June 10, 2012 by athulpavithran in Downloads

An Open Source vector graphics editor, with capabilities similar to Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file format.

Inkscape supports many advanced SVG features (markers, clones, alpha blending, etc.) and great care is taken in designing a streamlined interface. It is very easy to edit nodes, perform complex path operations, trace bitmaps and much more. We also aim to maintain a thriving user and developer community by using open, community-oriented development.

MAGIX Xtreme Photo Designer

Posted: June 10, 2012 by athulpavithran in Downloads

MAGIX Xtreme Photo Designer is a powerful yet easy to use application that allows you to edit your photos quickly and precisely. This incredible program offers a comprehensive set of tools that enables you to edit your pictures and assists in transforming your photo ideas into reality. Moreover, the program features an intuitive user interface which does not need any technical knowledge to be operated and makes this task a breeze. It includes an intelligent Task Wizard which explains simple and complex editing steps, resulting in successful image editing. What is more, Xtreme Photo Designer enables you to retouch blemishes, scratches or tears on old photos, and use the cloning tool, magix wand, and other pro tools to create impressive collages. In addition to this, you also can select background and objects in a picture by simply right-clicking on them and add impressive perspective effects. With Xtreme Photo Designer cropping and creating screenshots is incredibly easy. All in all, if you are looking for a great application to edit your photos easily and fast, MAGIX Xtreme Photo Designer is perfect for you.

Photo Pos

Posted: June 10, 2012 by athulpavithran in Uncategorized

Photo Pos Pro allows you easily create, edit, enhance, print, and manipulate your digital photos and computer graphics, and easily create eye-catching graphics, beautiful collages, greeting cards, business cards, website designs, buttons and much more. We decided to comply with our tens thousands of satisfied users and turn Photo Pos Pro into a freeware.