I would like to store some sensitive data and because the node would be public I am worried that if can be reserved.
What do you suggest to store sensitive data(passwords) in blockchain?
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.Sign up to join this community
Encrypt the data before you supply it to the blockchain using a sufficiently strong encryption algorithm. Alternatively you can leave a reference in the blockchain, which is the suggested approach for data that does not need to be processed within the consensus system. The flow could be:
Strong cryptographic hash functions are designed to be irreversible. Blake2-128 is quite secure (see the claims on https://www.blake2.net/), and it is fine to post hashes of sensitive data to the blockchain.