How to implement merkle tree data in a relational database table to validate the records in the database table

182
June 11, 2019, at 07:00 AM

I have a REST service which insert the audit record into the database say MySQL. I have to implement merkle tree in such a way that whenever the service insert the record in database it should verify the the table records and insert the data. Or, if we get the id of the record we can check that whether the record is valid or not.

I had used this merkle tree implementation

https://github.com/SimoneStefani/merkle-tree-java/blob/master/src/test/java/NodeTest.java

Requirement is how to design a database which store merkle tree. With each and every insertion we need to add a leaf and the whole tree will change. How to maintain the database record. I want to implement Single Table authentication or Level Based Authentication Table.

Rent Charter Buses Company
READ ALSO
column D1 to D31 Employee attendance fill by present 'P'and absent 'A' ,so i want to count the present day and absent day of each emloyee [on hold]

column D1 to D31 Employee attendance fill by present 'P'and absent 'A' ,so i want to count the present day and absent day of each emloyee [on hold]

I have one table that contains column EId, Cid, Name, and D1 to D31 Employee attendance fill by present 'P'and absent 'A', so I want to count the present day and absent day of each employee

108
After updating SqlCipher version to 4.2.0 version I get a crash

After updating SqlCipher version to 4.2.0 version I get a crash

After updating to SqlCipher version to 42

194
Log4j2 'Unable to move file' error when using RollingFileAppender with millisecond level rolling

Log4j2 'Unable to move file' error when using RollingFileAppender with millisecond level rolling

I am trying to configure Log4j2 to roll and log files at a millisecond level granularity

124
How to disable all third-party keyboard in EditText in my own application?

How to disable all third-party keyboard in EditText in my own application?

I want to disable all third party keyboard from my application as it is a security concernIs it possible in Android? If possible, then how can i do it

164