Skip to content

Commit 2134261

Browse files
Create kha256_demo.ipynb
1 parent 0c89fa7 commit 2134261

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

notebooks/kha256_demo.ipynb

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "13d8f25d-cfdf-4fba-a329-ca750ef91508",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"name": "stdout",
11+
"output_type": "stream",
12+
"text": [
13+
"Hash: a9dc8b3131084b22fc47a12073d9c24b4445464748494a4b4c4d4e4f50515253\n"
14+
]
15+
}
16+
],
17+
"source": [
18+
"from kha256 import quick_hash, hash_password, FortifiedKhaHash256\n",
19+
"\n",
20+
"# Basic hashing\\n\",\n",
21+
"result = quick_hash(\"Hello KHA-256!\")\n",
22+
"print(f\"Hash: {result}\")"
23+
]
24+
},
25+
{
26+
"cell_type": "code",
27+
"execution_count": null,
28+
"id": "b3a3373d-1bff-4235-a2d9-ae7432533b8c",
29+
"metadata": {},
30+
"outputs": [],
31+
"source": []
32+
}
33+
],
34+
"metadata": {
35+
"kernelspec": {
36+
"display_name": "Python 3 (ipykernel)",
37+
"language": "python",
38+
"name": "python3"
39+
},
40+
"language_info": {
41+
"codemirror_mode": {
42+
"name": "ipython",
43+
"version": 3
44+
},
45+
"file_extension": ".py",
46+
"mimetype": "text/x-python",
47+
"name": "python",
48+
"nbconvert_exporter": "python",
49+
"pygments_lexer": "ipython3",
50+
"version": "3.11.14"
51+
}
52+
},
53+
"nbformat": 4,
54+
"nbformat_minor": 5
55+
}

0 commit comments

Comments
 (0)