Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
zxcvbn
[
Front page
]
[ ]
Start:
** zxcvbn
- パスワードの複雑さを計算するツール
#br
*** zxcvbn
- https://github.com/dropbox/zxcvbn
- パスワードの複雑さを計算するツール
- Dropbox社製
- Java Script
#br
*** zxcvbn4j
- zxcvbn を改造
- サーバサイド用 Java
- https://nulab.com/ja/blog/nulab/password-strength/
- https://github.com/nulab/zxcvbn4j
#br
**** jdk-13
- jdk-13 ではエラーを起こす (2019 10/22)
- jdk-8 は OK
#br
*** Sample for zxcvbn4j
**** CheckPass.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import com.nulabinc.zxcvbn.*;
class CheckPass
{
public static void main(String[] args)
{
String str = null;
double score = 0.0;
Zxcvbn zxcvbn = new Zxcvbn();
InputStreamReader ist = new InputStreamReader(Sys...
BufferedReader buf = new BufferedReader(ist);
try {
System.err.print("Input String: ");
str = buf.readLine();
while(str!=null) {
Strength strength = zxcvbn.measure(str);
//score = strength.getGuesses();
score = strength.getGuessesLog10();
System.out.println("[" + str + "] is " + ...
System.err.print("\nInput String : ");
str = buf.readLine();
}
}
catch (IOException e) {
e.printStackTrace();
}
}
}
**** コンパイル&実行
javac -classpath ./zxcvbn-1.3.0.jar CheckPass.java
java -classpath .:./zxcvbn-1.3.0.jar CheckPass
#br
End:
** zxcvbn
- パスワードの複雑さを計算するツール
#br
*** zxcvbn
- https://github.com/dropbox/zxcvbn
- パスワードの複雑さを計算するツール
- Dropbox社製
- Java Script
#br
*** zxcvbn4j
- zxcvbn を改造
- サーバサイド用 Java
- https://nulab.com/ja/blog/nulab/password-strength/
- https://github.com/nulab/zxcvbn4j
#br
**** jdk-13
- jdk-13 ではエラーを起こす (2019 10/22)
- jdk-8 は OK
#br
*** Sample for zxcvbn4j
**** CheckPass.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import com.nulabinc.zxcvbn.*;
class CheckPass
{
public static void main(String[] args)
{
String str = null;
double score = 0.0;
Zxcvbn zxcvbn = new Zxcvbn();
InputStreamReader ist = new InputStreamReader(Sys...
BufferedReader buf = new BufferedReader(ist);
try {
System.err.print("Input String: ");
str = buf.readLine();
while(str!=null) {
Strength strength = zxcvbn.measure(str);
//score = strength.getGuesses();
score = strength.getGuessesLog10();
System.out.println("[" + str + "] is " + ...
System.err.print("\nInput String : ");
str = buf.readLine();
}
}
catch (IOException e) {
e.printStackTrace();
}
}
}
**** コンパイル&実行
javac -classpath ./zxcvbn-1.3.0.jar CheckPass.java
java -classpath .:./zxcvbn-1.3.0.jar CheckPass
#br
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2024
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Today
Who's Online
99 user(s) are online (20 user(s) are browsing xpwiki)
Members: 0
Guests: 99
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com