#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_crypto_aes_gcm_encrypt(
stack: Stack,
) -> StackExpand description
Encrypt plaintext using AES-256-GCM
Stack effect: ( String String – String Bool )
Arguments:
- plaintext: The string to encrypt
- key: Hex-encoded 32-byte key (64 hex characters)
Returns:
- ciphertext: base64(nonce || ciphertext || tag)
- success: Bool indicating success
§Safety
Stack must have two String values on top