Cargo Features
sui-crypto has no features set by default.
[dependencies]
sui-crypto = { version = "0.0.1", features = ["ed25519", "secp256r1", "secp256k1", "zklogin"] }
- ed25519
-
Enables hash and serde of sui-sdk-types and ed25519-dalek
ed25519 support
and rand_core
RNG support
Affects
sui-crypto::ed25519
,sui-crypto::simple
… - secp256r1
-
Enables hash and serde of sui-sdk-types and p256 and rand_core
p256:
secp256r1 support
Affects
sui-crypto::secp256r1
,sui-crypto::simple
… - secp256k1
-
Enables std of signature, hash and serde of sui-sdk-types and k256 and rand_core
k256:
secp256k1 support
Affects
sui-crypto::secp256k1
,sui-crypto::simple
… - zklogin
-
Enables std of signature, hash and serde of sui-sdk-types and ark-bn254 ^0.4.0, ark-ff ^0.4.1, ark-groth16 ^0.4.0, ark-snark ^0.4.0, ark-std ^0.4.0, base64ct, bnum ^0.11.0, itertools ^0.10.5, serde, serde_derive, and serde_json
ark-bn254:
zklogin verification support
Affects
sui-crypto::zklogin
,sui-crypto::simple
…