New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

credify-crypto

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

credify-crypto - npm Package Compare versions

Comparing version 0.28.0 to 0.29.1

2

package.json
{
"name": "credify-crypto",
"version": "0.28.0",
"version": "0.29.1",
"description": "Credify cryptographic related helpers in JavaScript",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,2 +0,2 @@

# CredifyCryptoJS
# credify-crypto (JavaScript)

@@ -69,11 +69,11 @@ Crypto related functions and helpers for JavaScript implemented in TypeScript.

CredifyCryptoJS supports RSA encryption with 4096 bit length keys. Its padding scheme uses [OAEP](https://en.wikipedia.org/wiki/Optimal_asymmetric_encryption_padding).
credify-crypto supports RSA encryption with 4096 bit length keys. Its padding scheme uses [OAEP](https://en.wikipedia.org/wiki/Optimal_asymmetric_encryption_padding).
## Signing
CredifyCryptoJS utilizes [EdDSA](https://en.wikipedia.org/wiki/EdDSA). This supports Curve25519.
credify-crypto utilizes [EdDSA](https://en.wikipedia.org/wiki/EdDSA). This supports Curve25519.
## PKCS #8
In order to simply deal with private keys, this leverages [PKCS #8](https://en.wikipedia.org/wiki/PKCS_8).
In order to simply deal with private keys, this uses [PKCS #8](https://en.wikipedia.org/wiki/PKCS_8).

@@ -90,2 +90,2 @@ ## More information

CredifyCryptoJS is released under the MIT license. See LICENSE for details.
credify-crypto is released under the MIT license. See LICENSE for details.

@@ -51,2 +51,4 @@ export class Signing {

export function generateJwt(signing: Signing, payload?: any): string;
export function generateApprovalToken(signing: Signing, clientId: string, entityId: string, approvedScopes: string[], offerCode?: string): string;
export function generateRequestToken(signing: Signing, encryptionPublicKey: string, scopes: string[], offerCode?: string): string;
export function verifyJwt(jwt: JWTType, signing: Signing): boolean;

@@ -53,0 +55,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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