crypto snippets