pyaes/pure/_aes_base.py
def _shift_rows(s):
        """Internal function. Please do not use."""
        s[0][1], s[1][1], s[2][1], s[3][1] = s[1][1], s[2][1], s[3][1], s[0][1]
        s[0][2], s[1][2], s[2][2], s[3][2] = s[2][2], s[3][2], s[0][2], s[1][2]
        s[0][3], s[1][3], s[2][3], s[3][3] = s[3][3], s[0][3], s[1][3], s[2][3]
Internal function. Please do not use.
Internal function. Please do not use.
Internal function . Please do not use .
def _shift_rows(s):
        s[0][1], s[1][1], s[2][1], s[3][1] = s[1][1], s[2][1], s[3][1], s[0][1]
        s[0][2], s[1][2], s[2][2], s[3][2] = s[2][2], s[3][2], s[0][2], s[1][2]
        s[0][3], s[1][3], s[2][3], s[3][3] = s[3][3], s[0][3], s[1][3], s[2][3]
def _shift_rows ( s ) : s [ 0 ] [ 1 ] , s [ 1 ] [ 1 ] , s [ 2 ] [ 1 ] , s [ 3 ] [ 1 ] = s [ 1 ] [ 1 ] , s [ 2 ] [ 1 ] , s [ 3 ] [ 1 ] , s [ 0 ] [ 1 ] s [ 0 ] [ 2 ] , s [ 1 ] [ 2 ] , s [ 2 ] [ 2 ] , s [ 3 ] [ 2 ] = s [ 2 ] [ 2 ] , s [ 3 ] [ 2 ] , s [ 0 ] [ 2 ] , s [ 1 ] [ 2 ] s [ 0 ] [ 3 ] , s [ 1 ] [ 3 ] , s [ 2 ] [ 3 ] , s [ 3 ] [ 3 ] = s [ 3 ] [ 3 ] , s [ 0 ] [ 3 ] , s [ 1 ] [ 3 ] , s [ 2 ] [ 3 ]
Internal function.
Internal function .
"""Internal function. Please do not use."""
s