GitHub
Examples
MCP server
Verify without DeFarm
Preparing search index...
The search index is not available
@defarm/sdk - v0.2.1
@defarm/sdk
core
Module core
Variables
ALG
COMMIT_INFO
DK_LEN
ED25519_SEED_LEN
ED25519_SIG_LEN
HPKE_ENC_LEN
HPKE_INFO
NONCE_LEN
SCHEMA_ENC_KEY_BINDING_V1
SCHEMA_SEALED_AAD_V1
SCHEMA_SEALED_FIELD_V1
SEALER_SIG_ALG
WRAPPED_DK_LEN
X25519_KEY_LEN
Functions
canonicalAad
canonicalEncKeyBinding
canonicalSealerSigningString
concatBytes
ed25519PublicKey
fromBase64
fromUtf8
generateEd25519KeyPair
generateX25519KeyPair
hiddenCommitment
hpkeUnwrapDk
hpkeWrapDk
jcsSerialize
openField
sealField
signEncKeyBinding
signSealedField
toBase64
toHex
utf8
validateRecipientPubkey
verifyEncKeyBinding
verifySealerSignature
x25519PublicKey
References
OpenFailureReason
→
OpenFailureReason
OpenFieldError
→
OpenFieldError
Recipient
→
Recipient
SealedField
→
SealedField
Wrap
→
Wrap
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Variables
ALG
COMMIT_
INFO
DK_
LEN
ED25519_
SEED_
LEN
ED25519_
SIG_
LEN
HPKE_
ENC_
LEN
HPKE_
INFO
NONCE_
LEN
SCHEMA_
ENC_
KEY_
BINDING_
V1
SCHEMA_
SEALED_
AAD_
V1
SCHEMA_
SEALED_
FIELD_
V1
SEALER_
SIG_
ALG
WRAPPED_
DK_
LEN
X25519_
KEY_
LEN
Functions
canonical
Aad
canonical
Enc
Key
Binding
canonical
Sealer
Signing
String
concat
Bytes
ed25519
Public
Key
from
Base64
from
Utf8
generate
Ed25519
Key
Pair
generate
X25519
Key
Pair
hidden
Commitment
hpke
Unwrap
Dk
hpke
Wrap
Dk
jcs
Serialize
open
Field
seal
Field
sign
Enc
Key
Binding
sign
Sealed
Field
to
Base64
to
Hex
utf8
validate
Recipient
Pubkey
verify
Enc
Key
Binding
verify
Sealer
Signature
x25519
Public
Key
References
Open
Failure
Reason
Open
Field
Error
Recipient
Sealed
Field
Wrap
GitHub
Examples
MCP server
Verify without DeFarm
@defarm/sdk - v0.2.1
Loading...