doc: edit crypto examples for consistency (nitpick)
This PR is just a nitpick while reading the crypto doc
- Most of the examples are using ES6 module destructing import syntax, this PR changed the one that is not follow the convention.
- Sort the import order