Module crypto

Source
Expand description

Cryptographic utilities for the go-server Rust SDK

This module provides AES-GCM encryption and decryption functionality compatible with the Go implementation.

Functionsยง

decrypt_data
Decrypts data using AES-GCM with a deterministic IV derived from the key
encrypt_data
Encrypts data using AES-GCM with a deterministic IV derived from the key
salt_key
Encrypts a key using the salt as AES key
unsalt_key
Decrypts a salted key