A supply chain management (SCM) method must include information sharing as a vital component in order to improve supply chain performance and boost an organisation’s strategic advantage. Since, due to a lack of trust concern over information leakage, and security breaches by nefarious individuals or groups, several organisations are hesitant to share information with their supply chain partners. This work presents a new supply chain management-based secure data transmission method. By using blockchain-based data storage, it is assumed that the manufacturers, suppliers, and customers would transfer data that must be kept private during transmission. As a consequence, this paper aims to provide an improved association rule mining with a data sanitisation scheme with an improved Apriori algorithm used in the proposed data sanitisation process. In particular, the Long Short-Term Memory (LSTM) will generate keys by considering the objective relying on the value of the preservation ratio, false rule generation, hiding failure, and degree of modification. The weights are adjusted via a novel Minkowski distance-based Namib beetle optimisation (MDNBO) technique, which also improves the performance of the LSTM model. The reverse process of encryption occurs when encrypted data are restored at the receiving end. By contrasting it with the old methods with regard to security as well, the proposed protected data in SCM with blockchain technology will be proved to be efficient.