hpke-js
isomorphic-webcrypto
hpke-js | isomorphic-webcrypto | |
---|---|---|
1 | 5 | |
52 | 114 | |
- | - | |
9.1 | 0.0 | |
about 1 month ago | 9 months ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hpke-js
-
Write once, run anywhere with Deno and Dnt
import { build, emptyDir } from "dnt"; await emptyDir("./npm"); await build({ entryPoints: ["./mod.ts"], outDir: "./npm", typeCheck: true, test: true, declaration: true, scriptModule: "umd", importMap: "./import-map.json", compilerOptions: { lib: ["es2021", "dom"], }, shims: { deno: "dev", }, package: { name: "hpke-js", version: Deno.args[0], description: "A Hybrid Public Key Encryption (HPKE) module for web browsers, Node.js and Deno", repository: { type: "git", url: "git+https://github.com/dajiaji/hpke-js.git", }, homepage: "https://github.com/dajiaji/hpke-js#readme", license: "MIT", main: "./script/mod.js", types: "./types/mod.d.ts", exports: { ".": { "import": "./esm/mod.js", "require": "./script/mod.js", }, "./package.json": "./package.json", }, keywords: [ "hpke", // ...省略 ], engines: { "node": ">=16.0.0", }, author: "Ajitomi Daisuke", bugs: { url: "https://github.com/dajiaji/hpke-js/issues", }, }, }); // post build steps Deno.copyFileSync("LICENSE", "npm/LICENSE"); Deno.copyFileSync("README.md", "npm/README.md");
isomorphic-webcrypto
-
Secure documents best practices
End to end encryption, if possible: if your use cases allows it, try your best to implement end to end encryption. That means that, if the user uploads a file, it should be encrypted client side (in the browser) before uploading. You can derive the key from the user's password and/or security token (see below). Check here for some resources: https://www.w3.org/TR/WebCryptoAPI/.
-
Show HN: I store my critical secrets and document, and communicate privately
https://en.wikipedia.org/wiki/Argon2
> There is no reason not to use Argon2
In this case, the reason for not using Argon2 is that it's not available: https://www.w3.org/TR/WebCryptoAPI/
> Well if this product isn't for mass-market
This is a demo for self-contained HTML encrypted secrets. Do with it what you want.
-
Write once, run anywhere with Deno and Dnt
A TypeScript Hybrid Public Key Encryption (HPKE) implementation build on top of Web Cryptography API This module works on web browsers, Node.js, Deno and Cloudflare Workers
- Web Cryptography API
-
What are the ways to encrypt an image and a video in React Native?
I haven’t used it, but https://github.com/kevlened/isomorphic-webcrypto might be more along the lines of what you’re after
What are some alternatives?
5edm - end-to-end encrypted messaging on deno
react-native-get-random-values - A small implementation of `getRandomValues` for React Native
esm.sh - A fast, smart, & global CDN for modern(es2015+) web development.
marko - A declarative, HTML-based language that makes building web apps fun
dnt - Deno to npm package build tool.
crypter - Crypto keys encryption tools
cash - An absurdly small jQuery alternative for modern browsers.
portable-secret - Better privacy without special software
pass - 🔑 YubiKey-sealed Secrets-as-Code for git.
Catberry - Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering.
encrypted-html-vault - A utility for creating a secret vault inside an HTML file for maximum portability.
razzle - ✨ Create server-rendered universal JavaScript applications with no configuration