Encryption Algorithm

To ensure the highest security and privacy in our cross-chain auction game, we use the XChaCha20 encryption algorithm, and a random nonce is generated each time a user bids. This approach helps protect the confidentiality of bid amounts while maintaining the integrity of the game.

The auction key and nonce, used for encrypting bids with XChaCha20, are randomly created for every auction. Our custom communication layer can only reveal these values during the auction. Importantly, our smart contract on the Secret Network includes a time check condition that prevents the custom communication layer from revealing the bid amounts before the auction's end time. This mechanism ensures that the bid amounts remain private and secure throughout the auction process, and only the necessary information is revealed when required.

Last updated