Update libcrypt examples to cpp to resolve syntax highlighting issue.