Versions in this module
v0
May 5, 2026
May 1, 2026
May 1, 2026retracted
Changes in this version
+
func Decrypt(cipherText []byte, key []byte, nonce []byte) ([]byte, error)
β
darwin/amd64, js/wasm, linux/amd64
+
func DeriveSharedKey(privateKey *ecdh.PrivateKey, publicKey *ecdh.PublicKey) ([]byte, error)
β
darwin/amd64, js/wasm, linux/amd64
+
func Encrypt(data []byte, key []byte) ([]byte, []byte, error)
β
darwin/amd64, js/wasm, linux/amd64
+
func GenerateFingerprint(publicKey ed25519.PublicKey) (string, error)
β
darwin/amd64, js/wasm, linux/amd64
+
func Sign(data []byte, privateKey ed25519.PrivateKey) ([]byte, error)
β
darwin/amd64, js/wasm, linux/amd64
+
func Verify(data []byte, signature []byte, publicKey ed25519.PublicKey) (bool, error)
β
darwin/amd64, js/wasm, linux/amd64