@mysten/sui
Sui TypeScript SDK with Ed25519, secp256k1, secp256r1 and ML-DSA-65 key pairs, passkeys, multisig, BLAKE2b addresses and zkLogin Poseidon hashing.
In short
What to know.
- Algorithms
- Ed25519, ECDSA on secp256k1, ECDSA on P-256, ML-DSA and 2 more3 of 6 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Plan a move away from Ed25519, ECDSA on secp256k1, ECDSA on P-256 before large quantum computers exist.
0 in the store
Advisories
No advisory in the store for this package.
OSV listed none on 3 December 2026, 16:49 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- npm registry metadata for @mysten/suiregistry.npmjs.orgRetrieved 3 December 2026
- Sui TypeScript SDK key pairs documentationsdk.mystenlabs.comRetrieved 3 December 2026
- Published zkLogin type definitions of @mysten/sui 3.0.1unpkg.comRetrieved 3 December 2026
Full record
- Package
- @mysten/sui
- Ecosystem
- npm
- Role
- Toolkit
- Repository
- github.com/MystenLabs/ts-sdks
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- The documentation says ML-DSA-65 is only accepted by networks where it has been enabled.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:49 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ML-DSA signaturePost-quantumDesigned to resist
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- Poseidon hashHashWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.Ed25519, ECDSA on secp256k1, ECDSA on P-256
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-DSA
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.BLAKE2 (BLAKE2b, BLAKE2s), Poseidon
Notes describe algorithm families, not any one project.