Compare commits

..

10 Commits

Author SHA1 Message Date
overtorment
27f1f5d53d noblify publicEncrypt 2025-07-07 17:21:58 +01:00
overtorment
da71d3e55f noblify publicEncrypt 2025-07-07 17:21:25 +01:00
overtorment
0af6af1b73 noblify publicEncrypt 2025-07-07 17:00:00 +01:00
overtorment
b274d1ea94 noblify publicEncrypt 2025-07-07 15:55:29 +01:00
overtorment
e2425ed829 lint 2025-07-07 10:30:11 +01:00
overtorment
d79410c115 lint 2025-07-07 10:29:24 +01:00
overtorment
a06d56b9e6 noblify create sign (ec) 2025-07-07 10:11:52 +01:00
overtorment
4b25598421 noblify create sign (ec) 2025-07-07 10:04:02 +01:00
overtorment
6f2fd5c00a lint 2025-07-07 09:38:27 +01:00
overtorment
aefdc70c9b noblify create sign (rsa) 2025-07-07 09:31:13 +01:00
3 changed files with 27 additions and 14 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
sudo: false
language: node_js
matrix:
include:
env: TEST_SUITE=browser BROWSER_NAME=ie BROWSER_VERSION="10..latest"
- node_js: '4'
env: TEST_SUITE=browser BROWSER_NAME=chrome BROWSER_VERSION="-2..beta"
- node_js: '4'
env: TEST_SUITE=browser BROWSER_NAME=firefox BROWSER_VERSION="-2..latest"
- node_js: '4'
env: TEST_SUITE=browser BROWSER_NAME=safari BROWSER_VERSION="7..latest"
- node_js: '4'
env: TEST_SUITE=browser BROWSER_NAME=android BROWSER_VERSION="5.0..latest"
script: "npm run-script $TEST_SUITE"
env:
global:
- secure: YHNUDQmx/WiW3gmDcRCfb6KLDeio7Mr5tqPY2kHPdZlBSytsQjNk75ytM4U6Cu8Uk8iEIoj/aFlxiVMpJNA8J4QSUyW/YkbVaIz0+1oywoV0Ht8aRBfZ1jvXfX6789+1Q9c4xaMkYYbJpXSh9JcirsiwmqWd4+IDd7hcESodsDQ=
- secure: Nhj5yejKZxUbtHGZta+GjYWqXGaOZB7ainTkOuGcpXM+OwwjeDpYlTBrwS90Q7hqens7KXVzQM09aDbadpsDCsOo1nyaEigMtomAorZ1UC1CpEoVz1ZuikF9bEhb+/7M9pzuL1fX+Ke9Dx4mPPeb8sf/2SrAu1RqXkSwZV/duAc=

View File

@ -1,18 +1,9 @@
# noble-crypto
`crypto-browserify` fork with all dependencies swapped for more modern `@noble` suite
## Incompatibilities
* `randomBytes` is removed and will throw an exception. Bring your own CSPRNG for your runtime
* `randomfill` --//--
* `randomfill`
* for `createECDH`, curves `secp224r1` & `prime192v1` are carved out (not supported in noble)
## Todo
* throw away `safe-buffer` in favor of Uint8Array
* figure out what to do with `parse-asn1` dep
# crypto-browserify <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
A port of node's `crypto` module to the browser.

View File

@ -1,17 +1,21 @@
{
"name": "noble-crypto",
"author": "Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)",
"name": "crypto-browserify",
"description": "implementation of crypto for the browser",
"version": "4.0.0",
"homepage": "https://github.com/BlueWallet/noble-crypto",
"version": "3.12.1",
"homepage": "https://github.com/browserify/crypto-browserify",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git://github.com/BlueWallet/noble-crypto.git"
"url": "git://github.com/browserify/crypto-browserify.git"
},
"scripts": {
"lint": "eslint --ext=js,mjs .",
"test": "nyc tape 'test/**/*.js'"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"engines": {
"node": ">= 0.10"
},