Socket
Socket
Sign inDemoInstall

@bicycle-codes/crypto-stream

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bicycle-codes/crypto-stream - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json

@@ -5,3 +5,3 @@ {

"type": "module",
"version": "0.0.4",
"version": "0.0.5",
"main": "dist/index.js",

@@ -8,0 +8,0 @@ "files": [

@@ -46,2 +46,15 @@ # crypto stream

```js
const encryptedData = await fetch(imgUrl)
const decryptedStream = await keychain.decryptStream(encryptedData.body)
const response = new Response(decryptedStream)
const blobUrl = window.URL.createObjectURL(await response.blob())
// ...
function Component () {
return html`<img src="${blobUrl}" />`
}
```
## API

@@ -48,0 +61,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc