You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
366 B
24 lines
366 B
package ugsbo.com.buchhaltung;
|
|
|
|
import java.security.MessageDigest;
|
|
|
|
public class Block {
|
|
|
|
int data;
|
|
int kontostand;
|
|
Block vorher;
|
|
|
|
String ownHash;
|
|
String previousHash;
|
|
|
|
public Block(int Data) {
|
|
data = Data;
|
|
vorher = null;
|
|
ownHash = createNewHash();
|
|
previousHash = null;
|
|
}
|
|
|
|
private String createNewHash() {
|
|
return null;
|
|
}
|
|
}
|