public KdbxHeader(){
  SecureRandom random=new SecureRandom();
  cipherUuid=AES_CIPHER;
  compressionFlags=CompressionFlags.GZIP;
  masterSeed=random.generateSeed(32);
  transformSeed=random.generateSeed(32);
  transformRounds=6000;
  encryptionIv=random.generateSeed(16);
  protectedStreamKey=random.generateSeed(32);
  streamStartBytes=new byte[32];
  protectedStreamAlgorithm=ProtectedStreamAlgorithm.SALSA_20;
}

public KdbxHeader ( ) { SecureRandom random = new SecureRandom ( ) ; cipherUuid = AES_CIPHER ; compressionFlags = CompressionFlags . GZIP ; masterSeed = random . generateSeed ( 32 ) ; transformSeed = random . generateSeed ( 32 ) ; transformRounds = 6000 ; encryptionIv = random . generateSeed ( 16 ) ; protectedStreamKey = random . generateSeed ( 32 ) ; streamStartBytes = new byte [ 32 ] ; protectedStreamAlgorithm = ProtectedStreamAlgorithm . SALSA_20 ; }
construct a default kdbx header
