{"id":21166315,"url":"https://github.com/ajyounguk/crypto-client","last_synced_at":"2026-05-10T10:13:03.891Z","repository":{"id":258036054,"uuid":"126039923","full_name":"ajyounguk/crypto-client","owner":"ajyounguk","description":"A Node.js demo app to encrypt / decrypt / hash text (AES, SHA2, RSA)","archived":false,"fork":false,"pushed_at":"2022-12-20T11:05:46.000Z","size":2638,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T10:11:28.511Z","etag":null,"topics":["aes","aes-256","aes-encryption","decrypt","decryption","demo","demo-app","encrypt","encryption","html","javascript","node","nodejs","rsa","rsa-algorithm","rsa-cryptography","rsa-encryption","rsa-key-pair","sha2","sha256-hash"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajyounguk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-20T15:27:30.000Z","updated_at":"2023-02-23T19:55:10.000Z","dependencies_parsed_at":"2024-10-18T04:03:55.803Z","dependency_job_id":null,"html_url":"https://github.com/ajyounguk/crypto-client","commit_stats":null,"previous_names":["ajyounguk/crypto-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Fcrypto-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Fcrypto-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Fcrypto-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajyounguk%2Fcrypto-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajyounguk","download_url":"https://codeload.github.com/ajyounguk/crypto-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615509,"owners_count":20319728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aes","aes-256","aes-encryption","decrypt","decryption","demo","demo-app","encrypt","encryption","html","javascript","node","nodejs","rsa","rsa-algorithm","rsa-cryptography","rsa-encryption","rsa-key-pair","sha2","sha256-hash"],"created_at":"2024-11-20T14:49:17.488Z","updated_at":"2026-05-10T10:13:03.855Z","avatar_url":"https://github.com/ajyounguk.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plaintext Encryption/Decryption Demo\n##\n## ursa dependency is not building on Windows 11 - this app may not work at all as at 20-12-2022 \n\n## What is this?\nA demo client to illustrate encryption, decryption and hashing functions with AES, SHA2 and RSA.\n\n\n![Alt text](/screenshots/sha2hash.png)\n\n\n\n**_IMPORTANT DISCLAIMER!!_** This is not a secure application, or a secure or recommended way of encrypting data, it's a simple demo to illustrate the principles only. Do not use this a secure encryption example / reference code for a secure system in any way. Please refer to the numerous articles and info on encryption and security on the interwebs for that!\n\n## Contains\n- /public = CSS (stylesheet)\n- /views = ejs based index.html page\n- /controllers = controller code with HTTP UI rendering and encryption code\n- app.js main app code\n\n## Functionality:\n- **encrypt** plaintext to cipher using password/secret (AES)\n- **decrypt** cipher to plaintext using password/secret (AES)\n- **hash** plaintext, using an optional password/secret (SHA-2)\n- **rsa key generation** create private and public keys\n- **rsa encryption** using public key\n- **rsa decryption** using private key\n\n\n\n## Acknowledgements\nBased on Christoph Hartmann examples at:\nhttp://lollyrock.com/articles/nodejs-encryption/\n\n## Installation overview\n\n### Clone Repo an install module dependencies\n\n```\nhttps://github.com/ajyounguk/crypto-demo\ncd crypto-demo\nnpm install\n```\n\n## How to run it\nnode app.js\n\npoint your browser at the local/remoteIP port 3000 to load the cryptography demo html UI\n\n\n\n### EOL Readme..\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajyounguk%2Fcrypto-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajyounguk%2Fcrypto-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajyounguk%2Fcrypto-client/lists"}