View Source RCrypto (WhatsApp-Flow-Crypto v0.1.0)

This module contains the NIF function to the rust library.

Summary

Functions

Decrypts the encrypted AES key encoded as Base64 string using the private reference.

This function fetches the private key from the pem string. The password is optional.

Functions

Link to this function

decrypt_aes_key(private_key_ref, encrypted_aes_key)

View Source

Decrypts the encrypted AES key encoded as Base64 string using the private reference.

Link to this function

fetch_private_key(private_key_pem, password)

View Source

This function fetches the private key from the pem string. The password is optional.