How do you go about storing private/secret keys in an Ionic application? I know that with a generic Android application, it is possible with the Android Keystore API or Keychain Services.
Some context: I am trying to develop an offline payments protocol that works on the basis of Message Authentication Codes (MAC) which establish an agreement between the payer and payee. This protocol enables value to be transferred from Alice to Bob by copying 8 digits in one direction and 8 digits in another. The code is computed using secret keys assigned to each participant, which is based on several parameters. Each instance of the application will need to generate its own secret key for the user, which acts as a unique identifier and a basis for the application.
Try using SecureStorage It does have some limitations but should work for your requirement
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With