Take a look at the article

Initiation Of Cryptology Thanks To A Scilab™ Project Using Perfect Magic Shuffles

P. Schott