I am unable to solve this error ... please help "java.security.SecureRandom: method getInstance(Ljava/lang/String;Ljava/lang/String Ljava/security/SecureRandom; not found" my code is : ... SecureRandom random = SecureRandom.getInstance("SHA1PRNG","SUN"); ...