Crypto
@turnkey/crypto
2.3.1
Patch Changes
- 2bc0046: Migrated from WebCrypto (crypto.subtle.verify) to Noble for ECDSA signature verification
2.3.0
Minor Changes
- 668edfa: Add keyformat to decryptExportBundle for displaying Solana private keys
2.2.0
Minor Changes
- Added
toDerSignature
function used to convert a raw ECDSA signature into DER-encoded format for compatibility with our backend, which requires DER signatures
2.1.0
Minor Changes
-
https://github.com/tkhq/sdk/pull/384: Reorganize into two subparts:
crypto.ts
: core cryptography utilitiesturnkey.ts
: Turnkey-specific cryptography utilities
Add
verifyStampSignature
method:- See in-line code docs for more details + example of usage
- This is useful for checking the validity of a stamp (signature) against the request body
Patch Changes
- d989d46: Remove unnecessary react/typsecript packages
2.0.0
Major Changes
- [BREAKING CHANGE] renamed
decryptBundle
todecryptCredentialBundle
(for decrypting email auth/recovery and oauth credential bundles) in order to distinguish from the newdecryptExportBundle
(for decrypting bundles containing wallet mnemonics or private key material)
Patch Changes
- Updated dependencies [e5c4fe9]
- @turnkey/encoding@0.4.0
1.0.0
Major Changes
- 93666ff: turnkey/crypto standard HPKE encryption, first major release. Allows for programmatic importing in environments like node. Moved some encoding helper functions to turnkey/encoding
Patch Changes
- Updated dependencies [93666ff]
- @turnkey/encoding@0.3.0
0.2.1
Patch Changes
- Updated dependencies
- @turnkey/encoding@0.2.1
0.2.0
Minor Changes
- Add HPKE encryption
0.1.1
Patch Changes
- d968e0b: Bugfix: return public key
0.1.0
Initial release
Was this page helpful?