code update
added crypto examples