You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/sei-protocol/sei-cryptography

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sei-protocol/sei-cryptography

v0.0.0-20250501183956-1ab45f607616
Source
Go
Version published
Created
Source

Sei Cryptography

Description

A library for encryption and zero knowledge proofs.

Packages

This library is split into 3 packages

Encryption

This package contains a simple library for encryption and decryption of numbers It includes

  • Twisted El Gamal key generation, encryption and decryption
  • Regular AES-GCM key generation, encryption and decryption

zkproofs

The zkproofs package contains methods to create and verify zero knowledge proofs on values encrypted by Twisted El Gamal encryption. It includes

  • Public Key Validity Proof
  • Ciphertext Validity Proof
  • Ciphertext Ciphertext Equality Proof
  • Ciphertext Commitment Equality Proof
  • Range Proofs
  • Zero Proofs

ct_module

The ct_module package contains methods to create instructions used in Sei's Confidential Transfers Module.

If you are looking to send messages to Sei's confidential transfers module, you should import types directly from sei-chain instead since it contains all the methods required to convert these instructions to their proto form.

FAQs

Package last updated on 01 May 2025

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