My favorites | Sign in
Project Home Source
Checkout   Browse   Changes    
 
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
package eu.jakubiak.generators;

import eu.jakubiak.md5.Md5;

/**
* Generowanie losowej md5 i podanie jej w sposób 16 - HEX
* co daje 32 znaki
*
* @author Antek
*/
public class Md5HexGenerator implements IGenerator {


/**
* Utworzenie klucza md5 zakodowanego w sposób 16
* standardowo dla internetu - w wyniku mamy 32 znakowy
* klucz
*
* @return
*/
public String generate() {

String hugeNumber = new KeyGenerator().generate(50);
return new Md5().calculate(hugeNumber);
}



}

Change log

r5 by antoni.jakubiak on Jun 27, 2009   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

r3 by antoni.jakubiak on Jun 27, 2009   Diff
[No log message]
All revisions of this file

File info

Size: 566 bytes, 29 lines
Powered by Google Project Hosting