@kumicota Applied Cryptography is a good book for this, here ye go.I like ANTS ( http://ants.9gridchan.info/ ) but it's probably easier to use 9front at present: http://9front.org/applied_cryptography.pdf