Research Article

An Ultra-Lightweight Encryption Scheme in Underwater Acoustic Networks

Algorithm 1

The encryption algorithm.
Input: , , ,
Output: ,
() ,
() for to 8 do
()   
()   
()   
()   
()   
()   
()   
()  
()  
()  
()  
() end for
()
() return ()