Lets say I am building a contract where I want to store some important information on ethereum blockchain. The data should be hidden and people shouldn't have a way to see it.
As per my knowledge, every transaction on ethereum blockchain is open and every one can see the inputs of the transaction. Is this correct?
If I want to make a function payable and want to store a password in this function then would I be able to store the password in raw format? Lets assume I can't encrypt it before sending it to blockchain as my contract needs to do some calculation on top of it.
Given all these conditions, Is there a way I can achieve this on Ethereum blockchain?