Implements key storage/persistence. I put the keys into a separate table for security reasons: it is easier to get code wrong that distinguishes between "secret" data for the main table and "shared" data for it. Open to suggestions for the key table's design. I also made it so that it can be changed to use RSA in the future, if needed.
Implements key storage/persistence. I put the keys into a separate table for security reasons: it is easier to get code wrong that distinguishes between "secret" data for the main table and "shared" data for it. Open to suggestions for the key table's design. I also made it so that it can be changed to use RSA in the future, if needed.