add basic crypto lib