RBX
In the zone
I want to store textual encoded data in a file whose internal structure is that of a database's .
The scenario requires saving pages of a diary - one for each day (specific date). I do not want to use 3rd party softwares and want to get it done with programming language alone via file handling (or the apt method).
Could anyone enlighten me how this could be approached (Java) ?
I also need to discuss a bit of cryptography.
I maybe read something about this somewhere and since have assumed that secure systems don't store actual user passwords but use cryptographic hashing algorithm on the password and store the result. When the user re-enters password, the algorithm is applied on the input and the result of this one is matched with the one in database.
The pages I want to encode - I've thought of using DES with user's password being the deciphering key, and username and password's hash in separate plaintext database file. How feasible, secure, and efficient does this sound ?
Please speak of any errors you think in this design.
and, I know this is not as easy as I am thinking
The scenario requires saving pages of a diary - one for each day (specific date). I do not want to use 3rd party softwares and want to get it done with programming language alone via file handling (or the apt method).
Could anyone enlighten me how this could be approached (Java) ?
I also need to discuss a bit of cryptography.
I maybe read something about this somewhere and since have assumed that secure systems don't store actual user passwords but use cryptographic hashing algorithm on the password and store the result. When the user re-enters password, the algorithm is applied on the input and the result of this one is matched with the one in database.
The pages I want to encode - I've thought of using DES with user's password being the deciphering key, and username and password's hash in separate plaintext database file. How feasible, secure, and efficient does this sound ?
Please speak of any errors you think in this design.
and, I know this is not as easy as I am thinking