Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@sqds/grid-crypto

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sqds/grid-crypto

Cryptographic utilities for Grid SDK - Standalone package for key generation, signing, and encryption

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
4
Created
Source

@sqds/grid-crypto

Cryptographic utilities for the Grid SDK. Provides key generation and signing functions for Turnkey and Privy providers.

Installation

npm install @sqds/grid-crypto

Usage

Turnkey

Generate a P-256 key pair and sign a payload:

import { generateTurnkeyKeyPair, signWithTurnkey } from '@sqds/grid-crypto';

const keyPair = await generateTurnkeyKeyPair();

const result = await signWithTurnkey(
  payload,
  credentialBundle,
  keyPair.privateKey
);

Privy

Generate an HPKE key pair and sign a payload:

import { generateHPKEKeyPair, signWithPrivy } from '@sqds/grid-crypto';

const keyPair = await generateHPKEKeyPair();

const signature = await signWithPrivy(
  payload,
  keyPair,
  encryptedAuthKey
);

Types

import type { KeyPair, SignatureResult } from '@sqds/grid-crypto';

License

MIT

Keywords

crypto

FAQs

Package last updated on 06 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts