Back to project page SmartPass.
The source code is released under:
Copyright (c) 2013 Dax Earl, Aaron Golliver Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
If you think the Android project SmartPass listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.passwordLib; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; /* w w w. j a va2 s . c om*/ import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; public class Main { public static void main(String[] args) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException { // PasswordFile.initPasswordFile("Golliver+Earl", "bitcoin1toor"); // String password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "email", "gmail"); // password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "email", "yahoo"); // password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "email", "hotmail"); // // // password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "sports", "espn"); // password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "sports", "fifa"); // password = PasswordLib.createPassword(24, true, true, true, true); // PasswordFile.addPassword(password, "tech", "ieee"); System.out.println(PasswordFile.getFolders()); for(String folder : PasswordFile.getFolders()) System.out.println(folder + ": " + PasswordFile.getAccountsInFolder(folder)); } }