Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed package name #7

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 130 additions & 0 deletions Java/src/main/java/io/github/studyandmasti/DataProvider.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
package io.github.studyandmasti;

public class DataProvider {
String[] firstMaleName = { "Hari", "sam", "Mukund", "Nabaghan", "Abhishek", "Suresh", "Santunu", "Akashya",
"Haribol", "Madhab", "Balkrushna", "Aarav", "Vihaan", "Vivaan", "Ananya", "Diya", "Advik", "Kabir", "Anaya",
"Aarav", "Vivaan", "Aditya", "Vivaan", "Vihaan", "Arjun", "Vivaan", "Reyansh", "Mohammed", "Sai", "Arnav",
"Aayan", "Krishna", "Ishaan", "Shaurya", "Atharva", "Advik", "Pranav", "Advaith", "Aaryan", "Dhruv",
"Kabir", "Ritvik", "Aarush", "Kian", "Darsh", "Veer", "Aadil", "Aakash", "Aarif", "Aashu", "Aatif",
"Aayush", "Abdul", "Abdullah", "Abhash", "Abhimanyu", "Abhinav", "Abhishek", "Abrar", "Adi", "Aditya",
"Aftab", "Agyapad", "Ahsan", "Ajay", "Ajeet", "Ajit", "Ajman", "Akash", "Akbar", "Akhilesh", "Akhtar",
"Akram", "Akshay", "Akshpaat", "Altaf", "Aman", "Amar", "Amarjeet", "Ameen", "Amil", "Amit", "Anil",
"Anjali", "Ankit", "Ankur", "Ansh", "Anshu", "Anshul", "Ansu", "Anuj", "Anup", "Anurag", "Anwari", "Aoosaf",
"Arif", "Arman", "Arsad", "Arsh", "Arun", "Arvind", "Aryan", "Ashish", "Ashok", "Ashu", "Ashutosh", "Asif",
"Atul", "Avinash", "Ayan", "Azam", "Bablu", "Babu", "Babulal", "Baksi", "Balbir", "Balram", "Balwant",
"Banarsi", "Bandu", "Bangali", "Banwari", "Barkat", "Begraj", "Bhagwans", "Bhajanlal", "Bhanu", "Bharma",
"Bhupender", "Bhupesh", "Bijender", "Bijendra", "Bikki", "Birender", "Birij", "Birjesh", "Bishan", "Bittu",
"Bobi", "Boby", "Bram", "Brijmohan", "Chandan", "Chander", "Chanderpal", "Chandra", "Chandrram", "Chatan",
"Chatar", "Chaterpal", "Cheddi", "Chetan", "Chetanram", "Chirag", "Chitrangans", "Chran", "Daler", "Daniel",
"Danish", "Daya", "Deep", "Deepak", "Deepchand", "Deepender", "Deewan", "Desh", "Deshraj", "Deva",
"Devender", "Devinder", "Devraj", "Dhalchand", "Dhanna", "Dharam", "Dharmandra", "Dharmender", "Dharmvir",
"Dheeraj", "Dhramender", "Dhrmveer", "Dilip", "Dinesh", "Divansh", "Divyansh", "Dular", "Durganand",
"Faijal", "Farid", "Farmaan", "Firoj", "Fulmiya", "Ganesh", "Gaurav", "Gauri", "Gautam", "Ghan",
"Ghanshyam", "Giri", "Girish", "Gopi", "Gorav", "Gourav", "Gulfam", "Gulreg", "Gulshan", "Gyanendra",
"Haider", "Hansraj", "Harak", "Hararat", "Harendra", "Hari", "Harish", "Harison", "Harkesh", "Harpal",
"Harsh", "Harshal", "Harvinder", "Hazrat", "Hemant", "Himanshu", "Hosiyarilal", "Hrithik", "Imran", "Inder",
"Inderjeet", "Irshad", "Ishan", "Ishant", "Ishwar", "Islam", "Jabbar", "Jabir", "Jagmal", "Jahagir",
"Jahid", "Jaiprakash", "Jasbir", "Jasveer", "Jatin", "Javed", "Jeeshan", "Jeetu", "Jeeya", "Jitender",
"Jitendera", "Jitendra", "Kabul", "Kaif", "Kalu", "Kamruddin", "Kanhaiya", "Kapil", "Karan", "Kavilash",
"Keshave", "Khemraj", "Khursheed", "Kiran", "Kishan", "Kripal", "Krishan", "Krishana", "Kuldeep", "Kumar",
"Kumari", "Kunal", "Kundan", "Kushal", "Laksh", "Lal", "Lalan", "Lalaram", "Lalit", "Lamani", "Lave",
"Lawrence", "Laxman", "Lekhraj", "Leo", "Loknath", "Lokesh", "Madan", "Mahaveer", "Mahender", "Mahendra",
"Mahesh", "Mahipal", "Mamchand", "Mamta", "Man", "Manful", "Manish", "Manjeet", "Manjiv", "Mannu", "Manoj",
"Manpreet", "Mithlesh", "Mobin", "Mohan", "Mohit", "Moni", "Monu", "Mukeemuddin", "Mukesh", "Muneer",
"Munesh", "Nadeem", "Nandkishore", "Nandmeena", "Nandu", "Nanhe", "Narayan", "Narender", "Naresh", "Naseem",
"Nashim", "Neeraj", "Nikhil", "Nitin", "Noorhasan", "Omprakash", "Pancu", "Pankaj", "Paras", "Pardeep",
"Parmod", "Parteek", "Partik", "Pavan", "Pawan", "Phooleshwar", "Pintu", "Piyush", "Pooja", "Prabhjeet",
"Pradeep", "Prahlad", "Pramod", "Prasant", "Praveen", "Prem", "Prhalad", "Prince", "Punarjyoti", "Punit",
"Pushkar", "Puspak", "Rada", "Radha", "Radhey", "Raghubir", "Raghunandan", "Raghuvir", "Rahish", "Rahul",
"Raj", "Raja", "Rajan", "Rajaram", "Rajeev", "Rajendar", "Rajender", "Rajesh", "Rajiv", "Rajkumar",
"Rajneesh", "Rajni", "Raju", "Rajveer", "Rakesh", "Ram", "Ramchander", "Ramesh", "Ramhetu", "Ramkishan",
"Ramprasad", "Ramtek", "Randhir", "Ranjeet", "Ranjit", "Raseel", "Ratiman", "Ravi", "Ravikant", "Ravinder",
"Ravindra", "Raviraj", "Ridhakaran", "Rihan", "Rinki", "Rinku", "Rishi", "Riyaz", "Robin", "Rohit", "Ronak",
"Roshan", "Rupender", "Rupesh", "Sachin", "Saddam", "Sahil", "Sahrukh", "Sajjan", "Salim", "Salin",
"Salmaan", "Same", "Sameem", "Sameer", "Samsuddin", "Sandeep", "Sanjay", "Sanjeev", "Sanjiv", "Sanni",
"Sanny", "Santosh", "Sartaj", "Sarvan", "Satbar", "Satender", "Satish", "Satpal", "Satyam", "Satyvrat",
"Saurabh", "Sehzad", "Shabuddin", "Shagufta", "Shail", "Shailesh", "Shakil", "Shakti", "Shambhu", "Shamim",
"Shankar", "Sharukh", "Shashank", "Shashikant", "Shaukat", "Shayam", "Shayamveer", "Shibu", "Shisupal",
"Shiv", "Shiva", "Shivam", "Shivyalam", "Shobharam", "Shripal", "Shubham", "Shyam", "Shyamlal", "Shyamveer",
"Sidharath", "Sivam", "Somnath", "Sonu", "Subhakar", "Subhas", "Subhash", "Sudhansu", "Sudhir", "Suhail",
"Sujeet" };
String[] title = { "Sahu", "Behera", "Nayak", "Das", "Pradhan", "Naik", "Majhi", "Jena", "Malik", "Swain", "Patra",
"Barik", "Mohanty", "Raut", "Bhoi", "Panda", "Sahoo", "Sethy", "Dei", "Biswal", "Singh", "Parida", "Munda",
"Mahanta", "Mahapatra", "Samal", "Mishra", "Maharana", "Rana", "Dash", "Bag", "Dehuri", "Padhan", "Meher",
"Gaud", "Pradhana", "Bibi", "Muduli", "Harijan", "Shabar", "Sethi", "Jani", "Nag", "Mandal", "Murmu",
"Patel", "Rout", "Mallick", "Gauda", "Bhue", "Kisan", "Nahak", "Giri", "Pattnayak", "Panigrahi", "Senapati",
"Padhi", "Khan", "Bhatara", "Bariha", "Dalei", "Bewa", "Lenka", "Bhatra", "Bhuyan", "Mahakud", "Dalai",
"Oram", "Ganda", "Suna", "Ray", "Tudu", "Gouda", "Pujari", "Tripathi", "Simha", "Ojha", "Kar", "Kumbhar",
"Nath", "Nanda", "Sa", "Rath", "Seth", "Mohanta", "Dhal", "Mahananda", "Mahalik", "Marndi", "Soren",
"Palei", "Baral", "Digal", "Hemrum", "Prushti", "Tandi", "Pati", "Bagha", "Dharua", "Khatua", "Bindhani",
"Raul", "Pal", "Bagartti", "Kahanra", "Putel", "Bisoyi", "Sabar", "Kandi", "Mohapatra", "Shatapathi",
"Dakua", "Samantaray", "Khuntia", "Mallik", "Santa", "Mirdha", "Khara", "Acharya", "Bisoi", "Begum", "Dip",
"Mali", "Pani", "Rao", "Sing", "Gochhayat", "Guru", "Agrawal", "Hansdah", "Bal", "Chowdhury", "Khatun",
"Hembram", "Pande", "Bisi", "Chhatria", "Sharma", "Debi", "Khadia", "Hati", "Dora", "Rautray", "Ghadei",
"Mahakur", "Kujur", "Ekka", "Lakra", "Podh", "Mukhi", "Khil", "Kumar", "Hantal", "Tarai", "Dehury", "Gahir",
"Rait", "Dey", "Saren", "Khamari", "Pattnaik", "Pangi", "Ho", "Jal", "Banachhor", "Gamanga", "Alli", "Hota",
"Sunani", "Hansa", "Pallai", "Sutar", "Sahani", "Naek", "Badatya", "Saha", "Khilar", "Dalabehera",
"Dandasena", "Paik", "Pujhari", "Pradhani", "Redi", "Pattanayak", "Purtti", "Gond", "Nial", "Bhol",
"Mahanti", "Subudhi", "Shadangi", "Biswas", "Madakami", "Kisku", "Paraja", "Gadanayak", "Kuanra",
"Tripathy", "Barla", "Chanda", "Ghosh", "Bhanja", "Barad", "Rohidas", "Thakur", "Mangaraj", "Gadaba",
"Chalan", "Datta", "Marandi", "Kalo", "Gupta", "Hansda", "Goud", "Mahakul", "Jhankar", "Ghadai", "Beura",
"Minz", "Juanga", "Bhumia", "Paikaray", "Sarakar", "Prusty", "Sasamal", "Lohar", "Minja", "Misra", "Puhan",
"Tanti", "Bagh", "Satanami", "Amanatya", "Thapa", "Lakada", "Behura", "Kadraka", "Budek", "Deo", "Kamar",
"Moharana", "Kishan", "Dhurua", "Lugun", "Samanta", "Sandh", "Mahanandia", "Kanhar", "Gopal", "Beshra",
"Badaik", "Luha", "Prasad", "Tirkey", "Tirki", "Mundari", "Bibhar", "Chandan", "Padiami", "Bhutia", "Sabat",
"Bastia", "Bhoe", "Jhodia", "Raita", "Jagat", "Malla", "Chhatar", "Mahankud", "Baske", "Kata", "Badhei",
"Danasana", "Mahali", "Satapathy", "Kaanra", "Madi", "Toppo", "Choudhury", "Kharsel", "Bej", "Raj", "Durga",
"Nandi", "Kanda", "Sisa", "Deheri", "Karmi", "Sen", "Maiti", "Hikaka", "Bishoyi", "Karan", "Purohit",
"Tappo", "Samad", "Tiria", "Mahar", "Shandh", "Dandapat", "Dalapati", "Pattanaik", "Rama", "Sagar", "Danga",
"Pingua", "Bhatta", "Kerketta", "Muni", "Kalar", "Mahanty", "Palai", "Debata", "Martha", "Devi", "Tarei",
"Begam", "Set", "Adhikari", "Agrawalla", "Mantri", "Karnna", "Hial", "Bhati", "Reddy", "Mandangi", "Bhukta",
"Dhir", "Chhura", "Bidika", "Dungdung", "Parija", "Kabasi", "Kabi", "Mahammad", "Sai", "Tete", "Chatar",
"Mahala", "Dungadunga", "Durua", "Kumura", "Kulu", "Badi", "Gagarai", "Baliyarasinh", "Hasada", "Mahana",
"Karua", "Penthei", "Jain", "Mahakhud", "Khatei", "Parichha", "Haladar", "Bemal", "Birua", "Kerketa",
"Sarangi", "Disari", "Samarath", "Punji", "Bachha", "Lima", "Bhumij", "Huika", "Roul", "Gadatia", "Amat",
"Takri", "Bishi", "Paridaa", "Keraketa", "Saura", "Patro", "Tandia", "Samantara", "Thela", "Sial", "Polei",
"Surin", "Si", "Padhiari", "Polai", "Pod", "Jayapuria", "Bai", "Pasayat", "Behuria", "Harapal", "Bhakta",
"Pramanik", "Tadingi", "Bera", "Kamila", "Dwibedi", "Khanda", "Karji", "Purty", "Achari", "Parmanik",
"Haripal", "Kandulana", "Kalet", "Chinda", "Harichandan", "Jagadala", "Bhainsa", "Prusti", "Bihari",
"Patnaik", "Tapno", "Golari", "Sundaray", "Manahira", "Yadab", "Praharaj", "Jali", "Chhotaray", "Kundu",
"Bhokta", "Jojo", "Kharasel", "Kumari", "Ghibhela", "Pandit", "Ranasingh", "Mistri", "Gochhaet", "Alam",
"Mahato", "Matari", "Jana", "Sinku", "Brahma", "Gardia", "Bage", "Bharati", "Taria", "Pahan", "Hansadah",
"Bano", "Mahunta", "Padhy", "Randhari", "Routray", "Amanta", "Deep", "Khandei", "Kandagari", "Kathar",
"Guntha", "Ketaki", "Lahajal", "Nisa", "Miniaka", "Parabhue", "Minyaka", "Kunda", "Khandual", "Kindo",
"Hembrum", "Palaka", "Kahanr", "Chandi", "Halaba", "Krisani", "Tapo", "Puta", "Buda", "Bada", "Sagaria",
"Chhatoi", "Gudia", "Baskey", "Negi", "Thanapati", "Sin", "Beg", "Lakshmi", "Saraph", "Gadatya", "Sika",
"Sarddar", "Luhura", "Patamajhi", "Panaka", "Madhei", "Bariki", "Mahalinga", "Soreng", "Babu", "Saunta",
"Raju", "Gochhi", "Bishoi", "Choudhuri", "Dhangadamajhi", "Basantia", "Rajahansa", "Dibya", "Sodi",
"Shrichandan", "Samantaraya", "Tanty", "Champia", "Bhaisal", "Bentakar", "Manna", "Kirsani", "Kudei",
"Badajena", "Kalata", "Banara", "Parua", "Himirika", "Khemundu", "Danta", "Gantayat", "Josi", "Karuan",
"Satapathi", "Sidar", "Kuanr", "Shankhua", "Dutta", "Kullu", "Eka", "Luhar", "Bud", "Khura", "Baghar",
"Meleka", "Khosala", "Muli", "Kuladip", "Gahan", "Apat", "Pandey", "Ram", "Adabar", "Pothal", "Bharasagar",
"Dikshit", "Sarenga", "Galari", "Sardar", "Gop", "Raika", "Ganta", "Kaibartta", "Kaudi", "Deuri", "Bagar",
"Banua", "Bhadra", "Kanta", "Keut", "Shadhangi", "Jadab", "Ksheti", "Bandichhor", "Balabantaray", "Tiwari",
"Mahat", "Sathua", "Pratihari", "Lohara", "Bardhan", "Xalxo", "Praska", "Bairagi", "Dila", "Husen",
"Saraka", "Kaur", "Dhibar", "Dixit", "Mandinga", "Mandingi", "Gamango", "Saradar", "Paharia", "Hernna",
"Tigga", "Bar", "Pagal", "Dhar", "Mandi", "Neti", "Sau", "Padhihari", "Bala", "Patri", "Khalakho", "Dhrua",
"Barua", "Pruseth", "Badarait", "Yadav", "Bhujabal", "Selama", "Mohakud", "Manika", "Yena", "Pidikaka",
"Sukla", "Bagarti", "Chakra", "Hosen", "Banka", "Kalasae", "Jued", "Uddin", "Budhia", "Khatoi", "Raya",
"Madkami", "Debanath", "Agarwal", "Topno", "Pandab", "Hans", "Shandha", "Barge", "Upadhyay", "Kabat",
"Baidya", "Parabhoe", "Sith", "Jha", "Benia", "Badara", "Sinha", "Sihna", "Pasaet", "Parabhoi", "Champati",
"Laguri", "Gemel", "Bhainsal", "Chhanda", "Makar", "Xess", "Adha", "Besra", "Chhuria", "Kalandi", "Parwin",
"Dandia", "Manasinh", "Kanungoo", "Burudi", "Bahadur", "Sarap", "Santara", "Bagal", "Madhi", "Garada",
"Ansari", "Nachika", "Khakha", "Garadia", "Mitra", "Sabitri", "Bari", "Chakrabarty", "Dangua", "Kandulna",
"Dwari", "Bir", "Dhada", "Duria", "Bahidar", "Parbati", "Rajak", "Chowhan", "Kheti", "Tunga", "Karakaria",
"Kido", "Khila", "Paital", "Pahi", "Ghibela", "Burma", "Khatoon", "Raheman", "Sundara", "Penthoi", "Mahal",
"Sandha", "Marei", "Rauta", "Pattayat", "Karjee", "Muna", "Juadi", "Pidika", "Majumdar", "Jamuda",
"Kulesika", "Pinga", "Jati", "Panigrahy", "Patika", "Sendh", "Rautaraya", "Mahabhoi", "Kampa", "Marnni",
"Dalua", "Parween", "Lahar", "Deogam", "Ranabida", "Karmakar", "Sagria", "Badra", "Besan", "Soni", "Ghasi",
"Ali", "Urma", "Singha", "Khosla", "Bhosagar", "Saraswati", "Karna", "Khes", "Mugri", "Ranajit", "Jethi",
"Agasti", "Shatapathy", "Soy", "Aehmad", "Bara", "Bishayi", "Bishai", "Goswami", "Mashra", "Mahankuda",
"Parimanik", "Karali", "Pandi", "Bhengra", "Beriha", "Rautaray", "Dal", "Kanungo", "Puala", "Bhagat",
"Perei", "Baliarasinh", "Pan", "Thatoi", "Urlaka", "Baa", "Karyi", "Dhali", "Baitharu", "Samantasinhar",
"Khanam", "Muthamajhi", "Bandichhod", "Nathasharma", "Mahamad", "Bahalia", "Hansada", "Jayasinh", "Jerai",
"Roy", "Shagadia", "Muria", "Gain", "Barman", "Kalia", "Pushti", "Badamundi", "Kusulia", "Lahara", "Sarkar",
"Biswakarma", "Baliarasin", "Kandh", "Sah", "Chaudhuri", "Kiro", "Misal", "Peda", "Sirika", "Jagadeb",
"Guin", "Sidu", "Behara", "Garia", "Sana", "Modi", "Bilunga", "Satpathy", "Suar", "Adajuad", "Sikaka",
"Suren", "Matia" };
String[] emlDomain = {"gmail.com", "yahoo.com", "hotmail.com", "rediffmail.com", "mns.com", "github.com", "bandu.com", "baidu.com", "aol.com", "comcast.net"};

}
159 changes: 159 additions & 0 deletions Java/src/main/java/io/github/studyandmasti/PiratedData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
package io.github.studyandmasti;

import java.util.Date;
import java.util.Random;

/**
*
* @author Satyajit319
* date 03/03/2022
*/

public class PiratedData {
DataProvider dp = new DataProvider();
String actfirName = "";
String actlstName = "";
String actFullName = "";
String actGender = "";
String actHairColor = "";
String actEyeColor = "";
String panNo = "";
String passNo = "";
String dlNum = "";
String actBloodGroup = "";
String actWeight = "";
String actSkinColor = "";
String actStateName = "";
String actDistName = "";
String actCardFullDetails = "";
String firstDate1 = "";
String actAge = "";
Date secondDate = new Date(2012, 4, 12);// every year to be increase one year.

/**
* This method can generate random First name of a person.
* @return firstName
*/
public String firstNameGenerator() {
int number = (int) Math.floor(Math.random() * 469);
actfirName = dp.firstMaleName[number];
return actfirName;

}

/**
* This method can generate random Last name of a person.
*
* @return LastName
*/
public String lastNameGenerator() {
int number = (int) Math.floor(Math.random() * 806);
return actlstName = dp.title[number];
}

/**
* This method can generate full name of a person.
*
* @return FullName
*/
public String fullNameGenerator() {
if (actfirName == "") {
this.firstNameGenerator();
}
if (actlstName == "") {
this.lastNameGenerator();
}
String fullName = actfirName + " " + actlstName;
return actFullName = fullName;
}

/**
* This method is for generate random mobile number
*
* @return MobileNumber
*/
public long mobileNumberGenerator() {
long mobNumber = (long) (Math.floor(Math.random() * (9999999999L - 6000000000L + 1)) + 6000000000L);
return mobNumber;
}

/**
* This method generates aadharnumber of a person
*
* @return aadharnumber
*/
public long aadharNumberGenerator() {
long adharNum = (long) (Math.floor(Math.random() * (999999999999L - 100000000000L + 1)) + 100000000000L);
return adharNum;
}

/**
* This method generte unique emailId every time.
*
* @return emailId
*/
public String emailIdGenerator() {
int emlNum = (int) (Math.floor(Math.random() * (999 - 100 + 1)) + 100);
int domain = (int) Math.floor(Math.random() * 10);
if (actfirName == "") {
this.firstNameGenerator();
}
return actfirName + emlNum + '@' + dp.emlDomain[domain];
}
/**
* This method gives the random user Id according to the first name of the person.
* @return userId
*/
public String userIdGenerator() {
if (actfirName == "") {
this.firstNameGenerator();
}
int usrIdNum = (int) (Math.floor(Math.random() * (999 - 100 + 1)) + 100);
String userId = actfirName + usrIdNum;
return userId;
}
/**
* This method generate a strong alpha numeric password.
* @param length
* @return password
*/
public char[] passwordGenerator(int length) {
String capitalCaseLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
String lowerCaseLetters = "abcdefghijklmnopqrstuvwxyz";
String specialCharacters = "!@#$";
String numbers = "1234567890";
String combinedChars = capitalCaseLetters + lowerCaseLetters + specialCharacters + numbers;
Random random = new Random();
char[] password = new char[length];

password[0] = lowerCaseLetters.charAt(random.nextInt(lowerCaseLetters.length()));
password[1] = capitalCaseLetters.charAt(random.nextInt(capitalCaseLetters.length()));
password[2] = specialCharacters.charAt(random.nextInt(specialCharacters.length()));
password[3] = numbers.charAt(random.nextInt(numbers.length()));

for(int i = 4; i< length ; i++) {
password[i] = combinedChars.charAt(random.nextInt(combinedChars.length()));
}
return password;
}
/**
* This function can generate long number.
* @return long number
*/
public long randomNumberGenerator() {
Random random = new Random();
long longNumber = random.nextLong();
return longNumber;
}
/**
* This function can generate integer type of number according to the range (0-maximum number provided)
* @param MaxNumber
* @return number
*/
public int randomNumberGenerator(int MaxNumber) {
Random random = new Random();
int number = random.nextInt(MaxNumber);
return number;
}

}
23 changes: 13 additions & 10 deletions Java/src/test/java/TestFunctions.java
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
import com.source.PiratedData;
import io.github.studyandmasti.PiratedData;

public class TestFunctions extends PiratedData {
public static void main(String[] args) {
PiratedData fun = new PiratedData();
String firstName =fun.firstNameGenerator();
PiratedData pd = new PiratedData();
String firstName =pd.firstNameGenerator();
System.out.println(firstName);

String lastName = fun.lastNameGenerator();
String lastName = pd.lastNameGenerator();
System.out.println(lastName);

String fullName = fun.fullNameGenerator();
String fullName = pd.fullNameGenerator();
System.out.println(fullName);

long mobno = fun.mobileNumberGenerator();
long mobno = pd.mobileNumberGenerator();
System.out.println(mobno);

long aadhar = fun.aadharNumberGenerator();
long aadhar = pd.aadharNumberGenerator();
System.out.println(aadhar);

String email = fun.emailIdGenerator();
String email = pd.emailIdGenerator();
System.out.println(email);

String userId = fun.userIdGenerator();
String userId = pd.userIdGenerator();
System.out.println(userId);

char[] pass= fun.passwordGenerator(8);
char[] pass= pd.passwordGenerator(8);
System.out.println(pass);

int num = pd.randomNumberGenerator(45);
System.out.println(num);
}

}
Loading